/*
Theme Name: Ipam
Theme URI: https://pixeldog.com.br/
Author: the Pixeldog Team
Author URI: https://wordpress.org
Description: Tema para o site Ipam
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ipam
Tags: blog
*/

html {
    line-height: 1.15; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
  }
  
  /* Sections
     ========================================================================== */
  
  /**
   * Render the `main` element consistently in IE.
   */
  
  main {
    display: block;
  }
  
  /**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */
  
  h1 {
    font-size: 2em;
    margin: 0.67em 0;
  }
  
  /* Grouping content
     ========================================================================== */
  
  /**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */
  
  hr {
    box-sizing: content-box; /* 1 */
    height: 0; /* 1 */
    overflow: visible; /* 2 */
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  pre {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /* Text-level semantics
     ========================================================================== */
  
  /**
   * Remove the gray background on active links in IE 10.
   */
  
  a {
    background-color: transparent;
  }
  
  /**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */
  
  abbr[title] {
    border-bottom: none; /* 1 */
    text-decoration: underline; /* 2 */
    text-decoration: underline dotted; /* 2 */
  }
  
  /**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */
  
  b,
  strong {
    font-weight: bolder;
  }
  
  /**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */
  
  code,
  kbd,
  samp {
    font-family: monospace, monospace; /* 1 */
    font-size: 1em; /* 2 */
  }
  
  /**
   * Add the correct font size in all browsers.
   */
  
  small {
    font-size: 80%;
  }
  
  /**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */
  
  sub,
  sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  
  sub {
    bottom: -0.25em;
  }
  
  sup {
    top: -0.5em;
  }
  
  /* Embedded content
     ========================================================================== */
  
  /**
   * Remove the border on images inside links in IE 10.
   */
  
  img {
    border-style: none;
  }
  
  /* Forms
     ========================================================================== */
  
  /**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */
  
  button,
  input,
  optgroup,
  select,
  textarea {
    font-family: inherit; /* 1 */
    font-size: 100%; /* 1 */
    line-height: 1.15; /* 1 */
    margin: 0; /* 2 */
  }
  
  /**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */
  
  button,
  input { /* 1 */
    overflow: visible;
  }
  
  /**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */
  
  button,
  select { /* 1 */
    text-transform: none;
  }
  
  /**
   * Correct the inability to style clickable types in iOS and Safari.
   */
  
  button,
  [type="button"],
  [type="reset"],
  [type="submit"] {
    -webkit-appearance: button;
  }
  
  /**
   * Remove the inner border and padding in Firefox.
   */
  
  button::-moz-focus-inner,
  [type="button"]::-moz-focus-inner,
  [type="reset"]::-moz-focus-inner,
  [type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
  }
  
  /**
   * Restore the focus styles unset by the previous rule.
   */
  
  button:-moz-focusring,
  [type="button"]:-moz-focusring,
  [type="reset"]:-moz-focusring,
  [type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
  }
  
  /**
   * Correct the padding in Firefox.
   */
  
  fieldset {
    padding: 0.35em 0.75em 0.625em;
  }
  
  /**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */
  
  legend {
    box-sizing: border-box; /* 1 */
    color: inherit; /* 2 */
    display: table; /* 1 */
    max-width: 100%; /* 1 */
    padding: 0; /* 3 */
    white-space: normal; /* 1 */
  }
  
  /**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */
  
  progress {
    vertical-align: baseline;
  }
  
  /**
   * Remove the default vertical scrollbar in IE 10+.
   */
  
  textarea {
    overflow: auto;
  }
  
  /**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */
  
  [type="checkbox"],
  [type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
  }

  *,
::after,
::before {
    box-sizing: border-box;
}
  
  /**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */
  
  [type="number"]::-webkit-inner-spin-button,
  [type="number"]::-webkit-outer-spin-button {
    height: auto;
  }
  
  /**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */
  
  [type="search"] {
    -webkit-appearance: textfield; /* 1 */
    outline-offset: -2px; /* 2 */
  }
  
  /**
   * Remove the inner padding in Chrome and Safari on macOS.
   */
  
  [type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  
  /**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */
  
  ::-webkit-file-upload-button {
    -webkit-appearance: button; /* 1 */
    font: inherit; /* 2 */
  }
  
  /* Interactive
     ========================================================================== */
  
  /*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */
  
  details {
    display: block;
  }
  
  /*
   * Add the correct display in all browsers.
   */
  
  summary {
    display: list-item;
  }
  
  /* Misc
     ========================================================================== */
  
  /**
   * Add the correct display in IE 10+.
   */
  
  template {
    display: none;
  }
  
  /**
   * Add the correct display in IE 10.
   */
  
  [hidden] {
    display: none;
  }


/* 2. Theme Specific CSS */

/* General */


:root{
    /* Measurements */
    --xxxs: 4px;
    --xxs: 8px;
    --xs: 16px;
    --s: 24px;
    --m: 32px;
    --l: 48px;
    --xl: 64px;
    --xxl: 80px;
    --xxxl: 96px;
    /* Colors */
    --blue: #3C6E8B;
    --green: #5A7D55;
    --orange: #C4714A;
    --yellow: #F4B232;
    --beige: #E3C9A6;
    font-family: "Mona Sans", sans-serif;
    font-size: 18px;
}

body {
    margin: 0;
    background-color: #F7F7F7;
    position: relative;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

/* Containers */

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    transition: all .2s ease-in-out;
}
@media (max-width: 575px) {
    .container {
        padding: 0 20px !important;
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        max-width: 1169px;
    }
    .container.large {
        max-width: 1408px;
    }
    .container.large.expand {
        max-width: 100%;
    }
}


/* Header */
.floating-header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 999;
}

.floating-header .container .wrapper {
    display: flex;
    justify-content: space-between;
    background-color: #fff;    
    padding: 24px 32px;
    border-radius: 16px;
    position: relative;
    top: var(--m);
    transition: all .2s ease;
}

.floating-header .container .wrapper.shrink {
  padding: 12px 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;    
  top: 0;
}

.colors-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.colors-bar span {
    display: block;
    width: 100%;
    height: 6px;
    background-color: var(--blue);
}

.colors-bar span:nth-child(2) {
    background-color: var(--green);
}

.colors-bar span:nth-child(3) {
    background-color: var(--orange);
}

.colors-bar span:nth-child(4) {
    background-color: var(--yellow);
}

.ipam-logo {
    width: 100%;
    max-width: 126px;
    transition: all .2s ease-in-out;
}

.floating-header .container .wrapper.shrink .ipam-logo {
    max-width: 100px;
}


.nav-wrapper {
    display: flex;
}

.menu {
    display: flex;
    align-self: center;
    gap: 0 var(--m);
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.menu li a {
    text-decoration: none;
    color: #000;
}

.menu li a:hover {
    color: var(--blue);
}

.self-center {
    align-self: center;
}

.btn {
    display: block;
    width: fit-content;
    padding: 12px var(--l);
    border-radius: var(--l);
    text-align: center;
    align-content: center;
    text-decoration: none;
    transition: all .3s ease;
}

.btn:hover {
    transform: scale(1.1);
}

.btn:active {
    transform: scale(.8);
}

.text-white {
    color: #fff;
}

.bg-green {
    background-color: var(--green);
}

.bg-yellow {
    background-color: var(--yellow);
}

.bg-blue {
    background-color: var(--blue);
}

.scroll-lock {
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .floating-header .container {
        display: none;
    }
}

.main-nav {
    background-color: #fff;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    width: 100%;
    height: 70px;
    padding: 0 15px;
    justify-content: space-between;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 3px;
    background: #000;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-list {
    display: flex;
    gap: 20px;
    transition: all .3s ease-in;
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  .scroll-lock {
    overflow: hidden;
  }
  .mobile {
    display: flex;
  }
  .header-wrapper .container {
    height: auto;
  }
  .logo-mobile {
    max-width: 94px;
    align-self: center;
  }
  .menu-toggle {
      display: flex;
      align-self: center;
  }

  .nav-list, .menu-menu-mobile .nav-list {
      /* display: none; */
      flex-direction: column;
      background: white;
      position: absolute;
      top: 52px;
      left: -999px;
      width: 100%;
      padding: 20px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      transition: all .3s ease-in;
      z-index: 999;
      height: 100vh;
      list-style-type: none;
      gap: 0;
  }

  .nav-list.active {
      display: flex;
      left: 0;
  }

  .nav-list ul, .menu-menu-mobile .nav-list ul {
    list-style-type: none;
    padding-left: 0;
  }

  .nav-list ul li, .menu-item {
    font-size: 11px;
    text-transform: uppercase;
    padding: 9px 0;
    border-bottom: 1px dotted rgb(90,90,90);
    text-decoration: none;
  }

  .nav-list ul li a, .menu-item a {
    color: rgb(90,90,90);
    font-weight: 700;
    text-decoration: none;
  }

  .menu-toggle.active span:nth-child(1) {
      transform: rotate(45deg) translate(6px, 7px);
  }
  .menu-toggle.active span:nth-child(2) {
      opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
  }
  .testeira {
    min-height: auto;
    padding: 20px 0;
  }
  .latest-recipes-aside {
    display: none;
  }
  .masonry-grid-item {
    flex: 0 0 100%;
  }
  .category-archive {
    padding-top: 40px;
    padding-bottom: 0px;
  }
}

/* HOME */
.hero {
    width: 100%;
    height: 75vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}

.hero .container {
    position: relative;
    bottom: 40px;
}

.hero img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.hero-title {
    font-size: 52px;
    line-height: 54px;
    color: #fff;
    font-weight: 700;
    margin-bottom: var(--m);
}

.hero-body {
    width: 100%;
    max-width: 754px;
    font-size: 1.11rem;
    line-height: 1.55rem;
    color: #fff;
    margin-bottom: var(--s);
}

/* INTRO */
.intro {
    margin-top: 24px;
}

.intro .container {
    display: flex;
    justify-content: space-evenly;
}

.intro-title {
    font-size: var(--l);
    line-height: var(--xl);
    margin-bottom: 0;
    position: relative;
}

.intro-title:before {
    content: "";
    display: block;
    background-image: url("../ipam/assets/img/mosca.png");
    background-size: contain;
    width: 33px;
    height: 33px;
    position: absolute;
    top: -42px;
    left: 0;
}

.intro .container p:not(.intro-title) {
    max-width: 568px;
    align-self: flex-end;
    margin-bottom: 0;
    line-height: 28px;
}

/* Resultados */

.resultados {
    margin-top: 9.18rem;
}

.resultados .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.resultados .wrapper p:first-child {
    font-size: 1.77rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
}

.resultados .wrapper p:first-child:before {
    content: "";
    display: block;
    background-image: url("../ipam/assets/img/mosca.png");
    background-size: contain;
    width: 33px;
    height: 33px;
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translate(-50%,-50%)!important;
}

.resultados .wrapper p:not(:first-child) {
    margin-top: 0;
    font-size: 1.33rem;
}

.masonry-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.masonry-grid .title {
    font-size: 4.44rem;
    line-height: var(--l);
    font-weight: 500;
    margin-bottom: 0;
    margin-top: 0;
}

.masonry-grid .title span:not(.title-aside) {
    display: block;
    font-size: 2.66rem;
    margin-top: 8px;
}

.masonry-grid .excerpt {
    font-size: 1.33rem;
}

.masonry-grid .title-aside {
    font-size: 2.66rem;
}

.first-row, .second-row, .third-row {
    display: flex;
    gap: 0 20px;
}

.first-row, .second-row {
    margin-bottom: var(--xs);
}

.first-row div:not(.body), .second-row div:not(.body), .third-row div:not(.body) {
    display: flex;
    max-width: 100%;
    width: 372px;
    height: 360px;
    flex-direction: column;
    background-color: cyan;
    border-radius: 16px;
    color: #fff;
    position: relative;
}

.first-row .body, .second-row .body, .third-row .body {
    padding-top: 5.77rem;
    padding-left: 1.77rem;
}


.first-row div:not(.body):first-child {
    background-color: var(--blue);
}

.first-row div:not(.body):nth-child(2) {
    max-width: 100%;
    width: 772px;
    background-color: unset;
    background-image: url("../ipam/assets/img/results-bg.png");
    background-size: cover;
}

.first-row div:not(.body):nth-child(2) .title {
    color: var(--blue);
}

.first-row div:not(.body):nth-child(2) .excerpt {
    color: #000;
}

.first-row div:nth-child(2):before {
    content: "";
    display: block;
    width: 194px;
    height: 191px;
    background-image: url("../ipam/assets/img/seeds.png");
    background-size: cover;
    position: absolute;
    right: 60px;
    top: -54px;
}

.first-row div:nth-child(2):after {
    content: "";
    display: block;
    width: 178px;
    height: 175px;
    background-image: url("../ipam/assets/img/cow.png");
    background-size: cover;
    position: absolute;
    right: -54px;
    top: 30px;
}

.second-row div:not(.body):nth-child(2) {
    background-color: var(--orange);
}

.second-row div:not(.body):first-child {
    max-width: 100%;
    width: 772px;
    background-color: unset;
    background-image: url("../ipam/assets/img/second-row-bg.png");
    background-size: cover;
}

.excerpt.last {
    margin-top: 8px;
}

.third-row div:not(.body):nth-child(1) {
    background-color: var(--beige);
}

.third-row div:not(.body):nth-child(1) .title {
    color: #004369;
}

.third-row div:not(.body):nth-child(1) .excerpt {
    color: #000;
}

.third-row div:not(.body):nth-child(2) {
    background-color: var(--green);
}

.third-row div:not(.body):nth-child(3) {
    background-color: #DBE2E7;
}

.third-row div:not(.body):nth-child(3) .title {
    color: var(--blue);
}

.third-row div:not(.body):nth-child(3) .excerpt {
    color: #000;
}

.divider {
    max-width: 1164px;
    margin: 94px 0;
}

/* Transformation */
.transformation .title {
    font-size: 2.66rem;
    margin-top: 0;
}

.transformation .title span {
    display: block;
    font-weight: 700;
}

.transformation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0 var(--s);
}

.transformation-grid .title {
    font-size: 1.55rem;
    color: var(--blue);
    font-weight: 500;
}

.transformation-grid div {
    border-radius: var(--xs);
    border: 1px solid #C4D4DE;
    padding: var(--xs) var(--l);
}

.transformation-grid div:first-child img {
    width: 54px;
    height: 58px;
}

.transformation-grid div:nth-child(2) img {
    width: 52px;
    height: 52px;
}

.transformation-grid div:nth-child(3) img {
    width: 32px;
    height: 58px;
}

/* Yellow divider */
.yellow-divider {
    margin-top: var(--s);
}

.yellow-divider .wrapper {
    display: flex;
    background-color: var(--yellow);
    padding: var(--l);
    padding-right: var(--xxxl);
    align-items: center;
    justify-content: space-between;
    border-radius: var(--xs);
}

.yellow-divider .wrapper img {
    width: 59px;
    height: 59px;
}

.yellow-divider p {
    font-size: 1.77rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.yellow-divider span {
    font-weight: 500;
}

.yellow-divider .body {
    display: flex;
    gap: 0 var(--m);
    align-items: center;
}

/* Quem faz parte */
.quem-faz-parte .wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
    align-items: flex-start;
}

.quem-faz-parte .wrapper .title {
    width: 363px;
    font-size: 2.66rem;
    margin: 0;
    flex-grow: 1;
}

.quem-faz-parte .wrapper .title span {
    font-weight: 700;
}

.quem-faz-parte .title {
    margin-top: var(--xxl);
}

/* Historias */
.historias {
    margin: 108px 0;
}

.historias .wrapper {
    display: flex;
    background-color: var(--green);
    border-radius: var(--s);
}

.historias .wrapper .text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: var(--l);
    padding-top: var(--m);
    padding-bottom: var(--m);
}

.historias .wrapper img {
    width: 100%;
    max-width: 569px;
}

.historias .wrapper .title {
    max-width: 304px;
    width: 100%;
    font-size: 3.11rem;
    color: #fff;
    margin: 0;
}

.historias .wrapper .body {
    font-size: 1.11rem;
    color: #fff;
}

/* Template-part Pre-footer */
.pre-footer {
    position: relative;
    bottom: -90px;
    background-color: #004369;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.mosca {
    width: 59px;
    height: 59px;
    align-self: center;
}

.pre-footer .wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 4.11rem 0 8.22rem;
    gap: 0 24px;
}

.pre-footer .wrapper .body {
    display: flex;
    gap: 0 24px;
}

.pre-footer .wrapper .body p {
    font-size: 1.77rem;
    color: #fff;
    margin: 0;
    align-self: center;
}

.pre-footer .wrapper .arrow {
    max-width: 368px;
}

/* Footer */
footer {
    position: relative;
    background-color: #fff;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
    padding-top: 90px;
}

.informacoes .wrapper {
    display: flex;
    justify-content: space-between;
}

.informacoes .divider {
    max-width: 100%;
    margin-top: 0;
    margin-top: 36px;
    margin-bottom: 36px;
}

.informacoes .divider:first-child {
    margin-top: 0;
}

.informacoes .wrapper .small {
    font-size: 1.33rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 12px;
}

.informacoes .wrapper .large {
    font-size: 1.77rem;
    margin-bottom: 0;
    margin-top: 0;
}

.realizacao .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.realizacao .wrapper .img-wrap {
    display: flex;
    align-items: center;
    gap: 0 56px;
}

.realizacao .wrapper .img-wrap img:first-child {
    width: 50px;
    height: 59px;
}

.realizacao .wrapper .img-wrap img:nth-child(2) {
    width: 121px;
    height: 53px;
}
.realizacao .wrapper .img-wrap img:nth-child(3) {
    width: 175px;
    height: auto;
}
.realizacao .wrapper .img-wrap img:nth-child(4) {
    width: 131px;
    height: 37px;
}

.arcos {
    margin-top: 6rem;
    max-height: auto;
}

.realizacao a:not(.btn) {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    display: block;
    margin-top: 40px;
}

.realizacao a:not(.btn):hover {
    filter: brightness(0.5);
}

@media screen and (max-width: 768px) {
    .page-home {
        margin-top: 76px;
    }
    .hero .container {
        bottom: 0;
    }
    .intro {
        margin-top: 3.32rem;
    }
    .resultados {
        margin-top: 4.9rem;
    }
    .container {
        display: flex;
        flex-direction: column;
    }
    .first-row, .second-row, .third-row {
        flex-direction: column;
        gap: 20px 0;
    }
    .first-row div:not(.body), .second-row div:not(.body), .third-row div:not(.body) {
        width: 100%;
        height: 368px;
    }
    .first-row div:not(.body):nth-child(2) {
        width: 100%;
        max-width: 100%;
    }
    .first-row div:nth-child(2):before {
        display: none;
    }
    .first-row div:nth-child(2):after {
        display: none;
    }
    .second-row div:not(.body):first-child {
        width: 100%;
        max-width: 100%;
    }
    .transformation-grid {
        grid-template-columns: 1fr;
        gap: 20px 0;
    }
    .informacoes .wrapper .large {
        font-size: 1.4rem;
    }
    .yellow-divider .wrapper {
        flex-direction: column;
        padding-right: var(--l);
        gap: 20px 0;
    }
    .yellow-divider .body {
        flex-direction: column;
        align-items: center;
    }
    .yellow-divider p {
        text-align: center;
    }
    .quem-faz-parte .wrapper {
        grid-template-columns: 1fr;
    }
    .historias .wrapper {
        flex-direction: column;
    }
    .pre-footer .wrapper, .pre-footer .wrapper .body, .informacoes .wrapper,
    .realizacao .wrapper, .realizacao .wrapper .img-wrap {
        flex-direction: column;
        gap: 40px 0;
    }
    .realizacao .container p {
        text-align: center;
    }
    .arcos {
        margin-top: 2rem;
    }
    .historias {
        margin-top: 59px;
        margin-bottom: 0;
    }
    .historias .wrapper .text-wrapper {
        padding-left: var(--xs);
        padding-right: var(--xs);
    }
    .historias .wrapper .text-wrapper div {
        display: flex;
        flex-direction: column;
    }
    .historias .wrapper .text-wrapper div .btn {
        align-self: center;
    }
    .pre-footer .wrapper .body p {
        text-align: center;
    }
    .pre-footer, footer {
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
    }
    .hero {
        justify-content: flex-start;
        height: auto;
        padding-bottom: 40px;
    }
    .hero img {
        object-fit: cover;
        border-bottom-right-radius: 32px;
        border-bottom-left-radius: 32px;
    }
    .hero-title {
        margin-top: var(--s);
        font-size: 46px;
        line-height: 54px;
        text-align: center;
    }
    .resultados .wrapper p:first-child {
        text-align: center;
    }
    .quem-faz-parte .wrapper .title {
        font-size: 2.2rem;
        width: 100%;
    }
    .pre-footer .wrapper .arrow {
        display: none;
    }
}

/* Sobre */
/* Intro */
.page-sobre {
    padding-top: 150px;
}

.page-sobre .intro .container {
    display: block;
}

.page-sobre .intro .wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.page-sobre .intro .wrapper .title {
    min-width: 704px;
    width: 100%;
    font-size: 3.55rem;
    line-height: 3.55rem;
    margin-top: 0;
}

/* Sobre-hero */
.sobre-hero {
    margin-top: 70px;
}

.sobre-hero .wrapper {
    background-color: var(--orange);
    border-radius: 24px;
}

.sobre-hero .wrapper img {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.sobre-hero .wrapper .text-wrap {
    padding: 48px 125px 40px;
    color: #fff;
}

/* Organizações */
.organizacoes {
    margin-top: 80px;
}

.organizacoes .wrapper .divider {
    margin: 48px 0;
}

.organizacoes .wrapper .title {
    font-size: 40px;
    line-height: 50px;
}

.org-item {
    display: flex;
    gap: 0 32px;

}

.org-item .text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.org-photo {
    max-width: 568px;
}

.number {
    font-size: 24px;
    color: #B3B3B3;
    margin: 0;
}

.org-item .title {
    font-size: 40px;
    margin: 0;
}

.org-item-logo {
    width: 151px;
}

.org-item-logo.ipam {
    width: 70px;
}

.org-item-logo.produzindo-certo {
    width: 180px;
}

.org-item-logo.protoforest {
    width: 175px;
}

.page-sobre .yellow-divider {
    margin-bottom: 94px;
}

.page-sobre .yellow-divider .wrapper {
    flex-direction: column;
}

.page-sobre .yellow-divider .wrapper p {
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 24px;
}

.page-sobre .yellow-divider .wrapper p:nth-child(2) {
    font-size: 20px;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .page-sobre {
        padding-top: 60px;
    }
    .page-sobre .intro .wrapper {
        flex-direction: column;
        gap: 20px 0;
    }
    .page-sobre .intro .wrapper .title {
        min-width: unset;
        font-size: 2.6rem;
        line-height: 2.8rem;
    }
    .sobre-hero .wrapper .text-wrap {
        padding: 20px;
        color: #fff;
    }
    .org-item {
        flex-direction: column;
        gap: 32px 0;
    }
    .org-item .text-wrap {
        gap: 32px;
    }
    .o-1 {
        order: 1;
    }
    .o-2 {
        order: 2;
    }
    .page-sobre .yellow-divider .wrapper {
        padding: var(--m);
    }
}

/* Page O Projeto */
.page-o-projeto {
    margin-top: 240px;
}

.o-projeto-hero {
    margin-top: 60px;
}

.contexto {
    margin-top: 96px;
}

.contexto .wrapper {
    display: flex;
    gap: 0 40px;
}

.contexto .wrapper img {
    width: 562px;
    max-width: 100%;
}

.contexto .wrapper .text-wrap .title {
    font-size: 40px;
    margin-top: 0;
}

.contexto .wrapper .text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .o-projeto-hero {
        margin-top: 32px;
    }
    .contexto {
        margin-top: 24px;
    }
    .contexto .wrapper {
        flex-direction: column;
    }
    .contexto .wrapper .text-wrap {
        margin-top: 48px;
    }   
}

/* Onde atuamos */
.onde-atuamos {
    margin-top: 192px;
    padding-bottom: 80px;
    position: relative;
}

.onde-atuamos .wrapper {
    max-width: 568px;
}

.onde-atuamos .wrapper .title {
    font-size: 40px;
    margin-top: 4px;
    margin-bottom: 48px;
}

.onde-atuamos .wrapper .green-cards-wrapper {
    display: flex;
    gap: 0 12px;
}

.onde-atuamos .wrapper .green-cards-wrapper div {
    width: 240px;
    height: 144px;
    padding: 20px 0 0 14px;
    border-radius: 16px;
    background-color: var(--green);
    color: #fff;
    position: relative;
}

.onde-atuamos .wrapper .green-cards-wrapper div:first-child:after {
    content: "";
    display: block;
    position: absolute;
    background-image: url("../ipam/assets/img/small-seeds.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 81px;
    height: 82px;
    right: 0;
    bottom: 0;
}

.onde-atuamos .wrapper .green-cards-wrapper div:after {
    content: "";
    display: block;
    position: absolute;
    background-image: url("../ipam/assets/img/hands.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 151px;
    height: 104px;
    right: 0;
    bottom: -30px;
}

.onde-atuamos .wrapper .green-cards-wrapper div .title {
    font-size: 24px;
    margin: 0;
}

.onde-atuamos .wrapper .green-cards-wrapper div .body {
    margin: 0;
}

.onde-atuamos .cow-aside {
    width: 100%;
}

.onde-atuamos .container.flx {
    display: flex;
    gap: 0 40px;
}

/* Desafios */

.desafios .title {
    font-size: 40px;
    margin-bottom: 0;
}

.desafios .transformation-grid {
    margin-top: 48px;
}

.desafios .transformation-grid div {
    padding-top: 32px;
    padding-left: 30px;
    padding-right: 62px;
    background-color: rgb(60, 110, 139, .2);
}

.desafios .transformation-grid div .up-title {
    font-size: 16px;
    margin: 0;
    margin-bottom: 8px;
}

.desafios .transformation-grid div .title {
    font-size: 24px;
    color: #1C1C1C;
    font-weight: 700;
    margin: 0;
}

.desafios .transformation-grid div .body {
    line-height: 28px;
}

.desafios .transformation-grid div img {
    margin-bottom: 20px;
}

.desafios .transformation-grid div:first-child img {
    width: 64px;
    height: 60px;
}

.desafios .transformation-grid div:nth-child(2) img {
    width: 60px;
    height: 56px;
}

.desafios .transformation-grid div:nth-child(3) img {
    width: 57px;
    height: 55px;
}

@media screen and (max-width: 768px) {
    .page-o-projeto {
        margin-top: 100px;
    }
    .onde-atuamos {
        margin-top: 40px;
        padding-bottom: 0;
    }
    .onde-atuamos .cow-aside {
        display: none;
    }
}

/* Nossa Visão */
.nossa-visao {
    margin-top: 90px;
}

.nossa-visao .wrapper {
    background-color: #004369;
    border-radius: 24px;
    padding: 24px 50px;
    padding-bottom: 80px;
}

.nossa-visao .wrapper .title {
    font-size: 40px;
    margin: 0;
    color: #fff;
}

.nossa-visao .grid-visao {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0 40px
}

.nossa-visao .grid-visao div {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.nossa-visao .wrapper .grid-visao .title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 24px;
    line-height: 20px;
}

.nossa-visao .wrapper .grid-visao .title span {
    font-size: 18px;
    font-weight: normal;
}

.nossa-visao .wrapper .grid-visao p {
    margin: 0;
}

.nossa-visao .wrapper .grid-visao div img {
    width: 32px;
    height: 42px;
    margin-bottom: 18px;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .nossa-visao {
        margin-top: 45px;
    }
    .nossa-visao .wrapper {
        padding: 24px;
    }
    .nossa-visao .grid-visao {
        grid-template-columns: 1fr;
    }
}

.arcos-full {
    margin: 96px 0;
}

/* Nossa visão resultados */

.nossa-visao.os-resultados .wrapper {
    background-color: var(--orange);
}

.nossa-visao.os-resultados .wrapper p:not(.number) {
    color: #fff;
}

/* Oportunidades */
.organizacoes.oportunidades .body-wrap .title {
    font-size: 20px;
    font-weight: 700;
}

.organizacoes.oportunidades .org-item .text-wrap {
    justify-content: flex-start;
}

.organizacoes.oportunidades .org-item .text-wrap .title {
    margin-bottom: 42px;
}

.organizacoes.oportunidades .org-item .text-wrap .divider {
    margin-top: 14px;
    margin-bottom: 14px;
}

.cotton-field-full {
    margin-top: 100px;
    padding: 0 24px;
}

.quem-faz-parte.doadores-e-parceiros  {
    margin-top: 110px;
    margin-bottom: 160px;
}

.quem-faz-parte.doadores-e-parceiros .title {
    font-size: 40px;
}

.mt70 {
    margin-top: 70px;
}

@media screen and (max-width: 768px) {
    .organizacoes.oportunidades .org-item .text-wrap .title{
        margin-bottom: 0;
    }
    .cotton-field-full {
        margin-top: 40px;
    }
    .quem-faz-parte.doadores-e-parceiros {
        margin-top: 40px;
        margin-bottom: 60px;
    }
    .mt70 {
        margin-top: 30px;
    }
    .arcos-full {
        margin: 50px 0;
    }
}

/* Contato */
.page-contato {
    position: relative;
}

.page-contato .hero-contato {
    height: 100vh;
    background-image: url("../ipam/assets/img/contato-hero.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top center;
    margin-bottom: 380px;
}

.page-contato .hero-contato .container {
    padding-top: 206px;
    text-align: center;
    color: #fff;
}

.page-contato .hero-contato .container .title {
    font-size: 56px;
    margin-bottom: 32px;
    font-weight: 700;
}

.page-contato .hero-contato .container p:not(.title) {
    line-height: 24px;
}

.page-contato .formulario .wrapper {
    max-width: 616px;
    padding: 42px 54px;
    background-color: var(--green);
    border-radius: 16px;
    left: 50%;
    top: 54%;
    transform: translate(-50%,-50%)!important;
    position: absolute;
}

.page-contato .formulario .wrapper input:not(.checkbox),
.page-contato .formulario .wrapper select,
.page-contato .formulario .wrapper textarea {
    width: 100%;
    margin: 12px 0;
    border-radius: 6px;
    border: none;
    padding: 14px 0 14px 14px;
}

.page-contato .formulario .wrapper label {
    font-size: 16px;
    color: #fff;
}

.page-contato .formulario .wrapper button {
    width: 100%;
    border-radius: 50px;
    background-color: var(--yellow);
    color: #fff;
    border: none;
    padding: 10px;
    margin-top: 24px;
}

@media screen and (max-width: 768px) {
    .page-contato .hero-contato {
        background-size: cover;
        background-position: center center;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        margin-bottom: 500px;
    }
    .page-contato .hero-contato .container {
        margin-top: 60px;
    }
    .page-contato .hero-contato .container .title {
        font-size: 36px;
        margin-bottom: 12px;
    }
    .page-contato .formulario .wrapper {
        width: 90%;
        top: 44%;
    }
}

.page-politica {
    margin-top: 240px;
}

.page-politica .page-title {
    font-size: 42px;
    margin: 0;
}

.page-politica .divider {
    margin: 32px 0;
}

.page-politica .title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 40px;
}

.page-politica ul {
    padding-left: 24px;
}

@media screen and (max-width: 768px) {
    .page-politica {
        margin-top: 120px;
    }
    .page-politica .title {
        margin-top: 20px;
    }
    .hero-body {
        text-align: center;
    }
    .intro-title {
        text-align: center;
    }

    .intro-title:before {   
        transform: translate(-50%,-50%)!important; 
        left: 50%;
    }
    .intro .container p:not(.intro-title) {
        text-align: center;
    }
    .realizacao a:not(.btn) {
        text-align: center;
    }
    .ipam-logo {
        align-self: center;
    }
}

@media screen and (max-width: 1366px) {
    .hero-title {
        font-size: 3rem;
        line-height: 3rem;
    }
    .page-sobre .intro .wrapper .title {
        font-size: 3rem;
        line-height: 3.5rem;
        align-self: flex-start;
    }
    .floating-header .container .wrapper {
        padding: 8px 12px;
    }
    .ipam-logo img {
        max-width: 100px;
        align-self: center;
    }
}



/* BLOG - IMPORT */

#hero-carousel {
  margin-top: 168px;
}

#hero-carousel .wrapper {
  display: flex;
  gap: 32px;
}

#hero-carousel .swiper.blogSwiper {
  max-width: 920px;
  height: 415px;
  width: 100%;
  margin-left: 0;
}

#hero-carousel .blogSwiper .swiper-slide {
  display: flex;
  align-items: center;
}

#hero-carousel .blogSwiper .swiper-pagination {
  text-align: left;
  padding-left: 36px;
  padding-bottom: 28px;
}

#hero-carousel .blogSwiper .swiper-pagination .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  background-color: transparent;
  border: 2px solid #455580;
}

#hero-carousel .blogSwiper .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #455580;
}

#hero-carousel .blogSwiper .wrap {
  border-radius: 8px;
}

#hero-carousel .blogSwiper .post-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  border-radius: 8px;
  filter: brightness(.6);
}

.post-contet h2:last-of-type {
  font-size: 16px;
}

.opening-title {
    font-size: 16px;
}

.side-box .sup-title {
    margin-top: 0;
    font-size: 20px;
}

[type=button]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
}

#hero-carousel .blogSwiper .metadata-box {
    display: flex;
    position: relative;
    color: #fff;
    width: 100%;
    max-width: 520px;
    padding-left: 32px;
    justify-content: center;
    flex-direction: column;
    z-index: 9;
}

#hero-carousel .blogSwiper .metadata-box .post-date {
  font-size: 1rem;
  padding-left: 12px;
  position: relative;
}

#hero-carousel .blogSwiper .metadata-box .post-title {
  font-size: 30px;
  line-height: 40px;
  margin-bottom: 0;
}

#hero-carousel .blogSwiper .metadata-box .post-date:before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  background: url("./assets/img/ionic-md-time.png");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%) !important;
}

.autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: #fff;
    fill: none;
    stroke-dashoffset: calc(125.6px * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
}

.pill-outlined {
  text-align: center;
  padding: 6px 28px;
  border: 1px solid red;
  max-width: fit-content;
  border-radius: 15px;
  line-height: normal;
}

.pill-outlined.low-primary {
  border-color: rgba(0, 52, 179, .1)
}

#hero-carousel .side-box .title {
  max-width: 460px;
  font-size: 32px;
  line-height: 42px;
}

@media screen and (max-width: 768px) {
  #hero-carousel {
    margin-top: 106px;
  }
  #hero-carousel .wrapper {
    flex-direction: column;
  }
  #hero-carousel .blogSwiper .swiper-pagination {
    text-align: center;
  }
}

.pill {
  font-size: 14px;
  font-weight: normal;
  line-height: 32px;
  padding: 0 10px;
  background-color: transparent;
  color: #1c1c1c;
  border: 1px solid rgba(28, 28, 28, .3);
  border-radius: 24px;
  transition: all .2s ease-in-out;
}

span.pill {
    /* padding: 10px; */
    padding: 0 20px;
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.pill.governanca {
  background: #3C6E8B;
  border-color: #3C6E8B;
  color: #fff;
}

.pill.produzir {
  background: #5A7D55;
  border-color: #5A7D55;
  color: #fff;
}

.pill.conservar {
  background: #C4714A;
  border-color: #C4714A;
  color: #fff;
}

.pill.incluir {
  background: #F4B232;
  border-color: #F4B232;
  color: #fff;
}

.pill:hover {
  transform: scale(1.1);
}

span.pill:hover {
    transform: unset;
}

#grid-conteudo .container {
  margin-top: 68px;
  padding-bottom: 86px;
}

#grid-conteudo #category-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
}

#grid-conteudo #post-filter .opening-title {
  font-size: 1.125rem;
  line-height: normal;
}

#grid-conteudo #posts-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 28px;
  margin-top: 40px;
  min-height: 400px;
  position: relative;
}

#grid-conteudo #posts-container .post-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#grid-conteudo #posts-container .post-card .post-date {
  font-size: 10px;
  line-height: normal;
  text-decoration: none;
  color: #707070;
  margin: 20px 0 0;
}

#grid-conteudo #posts-container .post-card .post-title {
  font-size: 22px;
  line-height: normal;
  color: #29292B;
  margin: 10px 0 0
}

#grid-conteudo #posts-container .post-card .post-title:hover {
  color: var(--blue);
}

#grid-conteudo #posts-container .post-card .post-image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

#grid-conteudo #posts-container .post-card .post-image {
  width: 100%;
  height: 266px;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}

#grid-conteudo #posts-container .post-card .post-image:hover {
  transform: scale(1.2);
}

#grid-conteudo #post-filter .load-more-wrapper {
  display: flex;
  justify-content: center;
}

#grid-conteudo #post-filter .load-more-wrapper .pill {
  width: 260px;
  text-transform: none;
  margin-top: 68px;
}

#grid-conteudo #post-filter .load-more-wrapper #load-more {
  margin-top: 24px;
}

.loader-wrapper {
  display: flex;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) !important;
}

.loader {
  width: 42px;
  height: 42px;
  border: 6px solid #3C6E8B;
  border-top: 6px solid #F4B232;
  border-bottom: 6px solid #C4714A;
  border-right: 6px solid #5A7D55;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.post-card.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.post-card.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}



@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#hero-carousel .side-box #category-filters {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  max-width: fit-content;
}

@media screen and (max-width: 768px) {
  #hero-carousel .side-box #category-filters {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pill {
    padding: 12px 16px;
  }
  #grid-conteudo #posts-container {
    grid-template-columns: 1fr;
  }
  #grid-conteudo .container {
    margin-top: 30px;
    padding-bottom: 50px !important;
  }
}

#single-post {
  margin-top: 155px;
}

/* #single-post .post-content p:nth-child(2), #single-post .post-content p:nth-child(3), 
#single-post .post-content ul:first-of-type, #single-post .post-content ul:last-of-type,
#single-post .post-content h2:last-of-type   {
  display: none;
} */

#single-post .container.flex {
  display: flex;
  max-width: 1200px;
  gap: 60px;
}

#single-post aside {
  width: 100%;
  height: fit-content;
  max-width: 354px;
  border-radius: 16px;
  background-color: rgba(0, 51, 180, .13);
  padding: 30px 34px 50px;
}

#single-post aside .newsletter-wrapper {
  display: flex;
}

#single-post aside .newsletter-wrapper form{
  flex-direction: column;
  gap: 14px;
}

#single-post aside [type="submit"].btn {
  max-width: 100% !important;
}

#single-post aside .newsletter-wrapper .form-wrap{
  width: 100%;
}

#single-post aside .title {
  font-size: 2rem;
  line-height: 2.5rem;
  margin-bottom: 24px;
}

#single-post aside .body {
  font-size: 1.125rem;
  line-height: 1.56rem;
  margin-bottom: 32px;
}

#single-post .pill {
  margin-right: 8px;
  pointer-events: none;
  vertical-align: sub;
}

#single-post .post-title {
  font-size: 2.5rem;
  line-height: 3rem;
  margin-top: 32px;
  margin-bottom: 0;
}

#single-post .post-date {
  font-size: 13px;
  margin-bottom: 48px;
}

#single-post .post-thumbnail-wrapper {
  width: 100%;
  height: auto;
  max-width: 1640px;
  max-height: 386px;
  border-radius: 16px;
  overflow: hidden;
}

#single-post .post-thumbnail {
  width: 100%;
  margin: 0 auto;
  object-fit: cover;
}

#single-post .post-content h2 {
  font-size: 2.5rem;
  line-height: 3rem;
}

#single-post .post-content h3 {
  font-size: 2.25rem;
  line-height: 2.62rem;
}

#single-post .post-content h4 {
  font-size: 2rem;
  line-height: 2.5rem;
}

#single-post .post-content h5 {
  font-size: 1.75rem;
  line-height: 2.12rem;
}

#single-post .post-content h6 {
   font-size: 1.5rem;
   line-height: 2rem;
}

#single-post .post-content p {
  font-size: 18px;
  line-height: 32px;
  margin-bottom: 24px;
}

#single-post .post-content a {
  color: var(--primary);
}

#single-post .post-content a:hover {
  filter: brightness(.5);
}

#single-post .post-content li {
  font-size: 18px;
  line-height: 32px;
}

#single-post .post-content ol {
  margin-bottom: 32px;
}

#single-post .container.big {
  width: 100%;
  max-width: 1840px;
  background-color: #E6E6E6;
  border-radius: 16px;
  padding-left: 100px;
  padding-right: 100px;
  padding-top: 140px;
} 

#single-post .related-posts {
  margin-top: 60px;
  margin-bottom: 60px;
}

#single-post .related-posts .opening {
  font-size: 2rem;
  line-height: normal;
  margin-bottom: 20px;
}

#single-post .related-posts .post-date {
  margin-top: 10px;
  margin-bottom: 12px;
  color: var(--grey);
}

#single-post .related-posts .post-title {
  font-size: 1.375rem;
  margin-top: 14px;
  margin-bottom: 102px;
  color: #1c1c1c;
}

#single-post .related-posts .post-image-wrapper {
  position: relative;
  height: 292px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  border-radius: 16px;
  overflow: hidden;
}

#single-post .related-posts .post-image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    border-radius: 16px;
    transition: transform .2s;
}

#single-post .related-posts .post-image-wrapper img:hover {
  transform: scale(1.2);
}

#single-post .related-posts .post-image-wrapper .categories-wrapper {
  z-index: 9;
  display: flex;
  position: relative;
  bottom: 16px;
  left: 16px;
}

.related-posts .container {
  display: block;
}

.related-posts h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.related-posts-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media screen and (max-width: 768px) {
  #single-post {
    margin-top: 104px;
  }
  #single-post .container.flex {
    flex-direction: column;
  }
  #single-post .related-posts-grid {
    display: flex;
    flex-direction: column;
  }
  #single-post .related-posts .post-title {
    margin-bottom: 0;
  }
  #single-post .container.big {
    padding-bottom: 40px !important;
  }
  .general-template {
    margin: 30px auto;
  }
}

a {
    text-decoration: none;
}