:root {
  /*   Variáveis de cor */

  --clr-primary-dark: #2a4070;
  --clr-primary-main: #1c519b;
  --clr-primary-light: #5f98ff;

  --clr-success-dark: #005f5b;
  --clr-success-main: #73deaa;
  --clr-success-light: #cdfff0;

  --clr-warning-dark: #814d04;
  --clr-warning-main: #ffc700;
  --clr-warning-light: #f9ed7f;

  --clr-error-dark: #ab1111;
  --clr-error-main: #ef8383;
  --clr-error-light: #ffe4e4;

  --clr-secondary-dark: #890080;
  --clr-secondary-main: #ac87cf;
  --clr-secondary-light: #d9afff;

  --clr-info-dark: #05114d;
  --clr-info-main: #122fc6;
  --clr-info-light: #d5dcf7;

  --clr-gray50: #f9f9f9;
  --clr-gray100: #edebeb;
  --clr-gray300: #e1e1e1;
  --clr-gray400: #cfd0d2;
  --clr-gray500: #c2c2c2;
  --clr-gray600: #aca8a8;
  --clr-gray700: #545454;
  --clr-gray800: #2d2d2e;
  --clr-gray900: #060608;

  --clr-background-papper: #f0f2f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--clr-background-papper);
  font-family: "Libre Franklin", sans-serif;
  min-height: 100vh;
}

b {
  color: var(--clr-primary-main);
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.img-fluid {
  min-width: 100%;
  height: auto;
}

/* -------------------------------- HEADER -------------------------------- */

header {
  position: fixed;
  top: 0;
  z-index: 1;
  width: 100%;
  background-color: white;
  height: 76px;
  border-bottom: 1px solid var(--clr-gray400);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left button {
  cursor: pointer;
  border: none;
  background-color: white;
  margin-top: 7px;
}

.header-menu {
  margin-right: 1rem;
}

.header-logo {
  margin-right: 1rem;
}

.header-title {
  font-size: 20px;
  font-weight: 600;
}

header input[type="text"] {
  background-color: var(--clr-background-papper);
  border-radius: 8px;
  font-size: 14px;
  background-image: url("../img/search.svg");
  background-position: 10px 13px;
  background-repeat: no-repeat;
  padding: 12px 20px 12px 40px;
  border: none;
  width: 548px;
}

header input[type="text"]:focus {
  outline: none !important;
}

.header-title-mobile {
  display: none;
}

@media only screen and (max-width: 900px) {
  .header-title {
    display: none;
  }
  .header-title-mobile {
    font-size: 1rem;
    font-weight: 600;
  }
  header input[type="text"] {
    font-size: 14px;
    width: 20rem;
  }
}

/* -------------------------------- CONTAINER -------------------------------- */

.grid-container {
  width: 100%;
  z-index: 0;
  margin: 0 auto;
  margin-top: 76px;
  display: flex;
}

/* -------------------------------- NAVBAR -------------------------------- */

.sidebar {
  width: 21%;
  height: 100%;
  position: fixed;
  z-index: 1;
  background-color: white;
  overflow: hidden;
  overflow-y: scroll;
  scrollbar-width: none;
}

.sidebar-small {
  position: relative;
  width: 0%;
  height: 100%;
  overflow: hidden;
}

.nav-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.nav-item {
  list-style: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item span {
  color: var(--clr-gray700);
}

.nav-item a {
  text-decoration: none;
  color: var(--clr-gray700);
  padding-top: 1px;
  margin-left: 10px;
}

.nav-item a {
  text-decoration: none;
  color: var(--clr-gray700);
  padding-top: 1px;
}

.active {
  border-left: 3px solid var(--clr-primary-main);
  padding-top: 8px;
  padding-bottom: 8px;
}

.active span {
  color: var(--clr-primary-main);
}

.active button {
  color: var(--clr-primary-main) !important;
  font-weight: bold;
}

.nav-item button {
  display: flex;
  gap: 1rem;
  text-align: left;
  width: 100%;
  background-color: white;
  border: none;
  outline: none;
  cursor: pointer;
  color: var(--clr-gray700);
  transition: background-color 0.2s linear;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-in-out;
}

.accordion-content ul {
  padding-top: 5px;
  list-style: none;
}

.accordion-content li {
  margin: 20px 0px;
}

.accordion-content a {
  margin-left: 0px;
}

.nivel_1 {
  border-left: 5px solid var(--clr-primary-dark);
  padding-left: 10px;
}

.nivel_2 {
  border-left: 5px solid var(--clr-primary-main);
  padding-left: 10px;
}

.nivel_3 {
  border-left: 5px solid #76b3d9;
  padding-left: 10px;
}

.nivel_4 {
  border-left: 5px solid #dae8f5;
  padding-left: 10px;
}

.download-do-manual span {
  color: var(--clr-success-dark);
}

.download-do-manual a {
  color: var(--clr-success-dark);
}

.download-do-manual a:hover {
  color: var(--clr-success-dark);
}

@media only screen and (max-width: 900px) {
  .sidebar {
    width: 0%;
    overflow: hidden;
  }

  .sidebar-small {
    position: fixed;
    width: 80%;
    overflow: hidden;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    overflow-y: scroll;
    scrollbar-width: none;
  }
}

/* -------------------------------- CONTENT -------------------------------- */

.content {
  margin-left: 22%;
  margin-right: 1rem;
}

.content-large {
  width: 100%;
  margin: 0rem 1rem 1rem 1rem;
}

.tag-edicao {
  position: absolute;
  background-color: var(--clr-warning-light);
  padding: 1rem;
  color: var(--clr-gray900);
  font-size: 20px;
  font-weight: 700;
  width: 124px;
  height: 60px;
  border-radius: 0px 0px 8px 8px;
  margin-left: 3rem;
  margin-top: 1rem;
}
.flex-1 {
	flex:1;
}

.flex-2 {
	flex:2;
}
.main-title-header {
  background-color: var(--clr-primary-main);
  padding: 3rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
}

.main-title-header h1 {
  font-size: 2rem;
  color: white;
  font-weight: 200;
}

.breadcrumb {
  color: var(--clr-gray500);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--clr-gray500);
}

.breadcrumb .atual {
  color: var(--clr-primary-main);
}

.main-content {
  background-color: white;
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6rem;
  margin-top: 1rem;
}

.main-content-intro h1 {
  font-size: 3.44rem;
  font-weight: bold;
  color: var(--clr-primary-main);
}

.main-content-presentation {
  width: 70%;
}

.main-content-presentation p {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-content-intro p {
  font-size: 1.375rem;
  color: var(--clr-gray700);
}

.main-content-intro a {
  margin-top: 2rem;
}

.btn-primary-main {
  background-color: var(--clr-primary-main);
  padding: 1rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: 8px;
  width: fit-content;
}

.btn-primary-main:hover {
  color: white;
}

.main-content-img {
  margin-top: -5rem;
}

@media only screen and (max-width: 900px) {
  .main-title-header h1 {
    font-size: 2rem;
  }
  .content {
    width: 100%;
    margin: 1rem;
    overflow: hidden;
  }

  .content-large {
    width: 100%;
  }
  .main-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
  }
  .main-content-presentation {
    width: 100%;
  }
  .main-content-intro h1 {
    margin-top: 3rem;
  }
  .main-content-intro a {
    margin-top: 1rem;
  }
  .main-content-img {
    display: none;
  }

  .main-content img {
    max-width: 100%;
    height: auto;
  }
}

/* -------------------------------- CONTEEUDO GERAL -------------------------------- */

.main-content-general {
  background-color: white;
  border-radius: 8px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.main-content-general p {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-general .legenda {
  font-size: 1rem;
  font-weight: bold;
  color: var(--clr-gray700);
  text-align: center;
  line-height: 3rem;
}

.main-content-general .fonte {
  font-size: 1rem;
  color: var(--clr-gray700);
  text-align: center;
  line-height: 4rem;
}

.main-content-general img {
  margin-top: 1rem;
}

.main-content-general ul,
li {
  font-size: 1rem;
  color: var(--clr-gray700);
}

.main-content-general .citacao {
  font-size: 0.9rem;
  color: var(--clr-gray900);
  margin-left: 4rem;
}

    /* -------------------------------- MODAL -------------------------------- */
    .modal-overlay {
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); 
        z-index: 1000;
        justify-content: center;
        align-items: center;
    }

    .modal-content {
        position: absolute;
        top: 20%;
        background-color: #fff;
        padding: 32px;
        border-radius: 18px;
        max-width: 800px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 32px;
    }

    .modal-content img {
        margin: 0;
    }

    .modal-img {
        max-width: 100%;
        min-width: 200px;
        max-height: 264px;
        border-radius: 50px;
        border-width: 1px;
        border-color: #C6C2C2;
        border-style: solid;
        object-fit: cover;
        flex-basis: auto;
    }

    .images-row {
        display: flex;
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .modal-content button {
        border: none;
		background: #1C519B;
		border-radius: 8px;
		color: white;
		line-height: 0;
		padding: 4px;
    }

	.modal-content span {	
		font-size: 1rem;
		font-weight: 700;
	}
      
    @media only screen and (max-width: 1250px) {
		.wp-block-columns {
			flex-direction: column;
		}
    }
@media only screen and (max-width: 900px) {
        .images-row {
            flex-direction: column;
        }
        .modal-img {
            width: 100%;
            max-height: 264px;
            border-radius: 50px;
            border-width: 1px;
            border-color: #C6C2C2;
            border-style: solid;
            object-fit: cover;
            flex: 1;
        }
        .modal-content {
            top: auto;
        }
    }

    /* -------------------------------- TIMELINE -------------------------------- */
    .timeline-container {
        display: flex;
        flex-direction: column;
    }
    .timeline {
        position: relative;
        padding: 32px;
        width: fit-content;
        max-width: 1200px;
    }
    .line {
        position: absolute;
        top: 160px;
        left: 0;
        right: 0;
        height: 12px;
        background: var(--clr-primary-main);
    }
    img.rounded-img {
        width: 174px;
        height: 174px;
        border-radius: 87px;
        outline-width: 8px;
        border-width: 1px;
        outline-color: white;
        border-color: #C6C2C2;
        border-style: solid;
        outline-style: solid;
        object-fit: cover;
        margin: 0;
    }
    .events {
        display: flex;
        gap: 80px;
        flex-direction: row;
        align-items: flex-start;
    }
    .event {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
    }
    .event-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        p {
            margin: 0;
        }
    }
    
    @media only screen and (max-width: 900px) {
        .timeline {
            position: relative;
            padding: 12px;
        }
        .line {
            top: 0;
            bottom: 0;
            left: 40px;
            width: 12px;
            height: 100%;
        }
        .events {
            display: flex;
            gap: 24px;
            flex-direction: column;
            align-items: flex-start;
        }
        .event {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
        }
        .year {
            margin-top: 62px;
            padding-left: 12px;
            background: white;
        }
        img.rounded-img {
            width: 100%;
            border-radius: 87px;
            min-width: 174px;
            outline: 0;
        }
        .event-content {
            text-align: left;
            align-items: start;
            padding-left: 16px;
        }
    }  

/* -------------------------------- FOOTER -------------------------------- */

footer {
  margin-top: 1rem;
  padding: 3rem;
  background-color: var(--clr-primary-main);
  display: flex;
  flex-direction: column;
  border-radius: 8px 8px 0px 0px;
}

footer a {
  text-decoration: none;
  color: white;
}

.footer-collum {
  width: 25%;
  margin-bottom: 3rem;
}

.footer-collum h3 {
  margin-bottom: 2rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}

.footer-collum ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-collum li {
  font-size: 1rem;
  font-weight: 200;
  color: white;
}

.redes-sociais {
  display: flex;
  gap: 1rem;
}

.redes-sociais img {
  height: 24px;
}

@media only screen and (max-width: 900px) {
  .footer-collum {
    width: 100%;
    margin-bottom: 3rem;
  }
  header input[type="text"] {
    font-size: 14px;
    width: 8rem;
  }
}

.wp-block-button {
  padding: 10px;
  background-color: var(--clr-primary-main);
  border: none;
  border-radius: 8px;
  color: white;
  width: 200px;
}

a.wp-block-button__link {
  color: white;
}

.wp-block-table table {
  border: 1px solid #cfd0d2;
}

.wp-block-table tbody {
  border: 1px solid #cfd0d2;
}

.wp-block-table tr {
  border: 1px solid #cfd0d2;
}

.wp-block-table td {
  border: 1px solid #cfd0d2;
  padding: 10px;
}

.wp-block-table ol,
li {
  margin-bottom: 1rem;
}

.wp-block-table ol,
li::marker {
  color: var(--clr-primary-main);
  font-weight: bold;
}
.wp-block-table table {
  font-size: 0.9rem;
}
.wp-block-table tr:first-child {
  background-color: #cfd0d2;
}
.wp-block-table tr:first-child {
  background-color: #1c519b;
  color: #ffffff;
}
