/* Big screens devices */
@media (min-width: 1800px){

  .categories-grid img {
    height: 500px;
  }

  .categories-grid li {
    height: 500px;
  }


}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {

  /* Main Containers */
  body {
    padding: 20px;
  }

  h2 {
    font-size: 36px;
  }

  main {
    padding-top: 20px;
  }



  /* Last post hero */
  .last-hero {
    width: 100vw;
    margin: 0;
    margin-left: -20px;
    margin-right: -40px;
    padding: 60px 20px 60px 20px;
  }

  .last-hero h2 {
    padding: 0;
    font-size: 36px;
    margin-bottom: 30px;
  }

  .hero-bar {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
    flex-wrap: wrap;
    height: 100%;
  }


  .hero-bar .circle  {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    display: none!important;
  }


  .hero-date {
    padding-right: 0!important;
  }

  .paid-partnership {
    flex-basis: 60%;
    margin-top: 14px;
  }

  .hero-bar p {
    padding-right: 0;
  }

  .hero-content {
    margin-top: 56px;
    margin-bottom: 56px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .hero-date,
  .hero-likes,
  .hero-cat {
    flex-basis: calc(100% / 3);
  }

  /* Archive */

  .archive-all.desktop {
    display: none;
  }

  .archive-all.mobile {
    display: block;
  }

  .archive-all {
    margin-bottom: 80px;
  }

  .archive-all .year {
    width: 100%;
    padding: 10px;
    text-align: center;

  }

  select {
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
  margin-right: 2rem;
  padding: 1rem;
  padding-right: 2rem;
}

  .archive-all .month {
    width: 100%;
    padding: 10px;
    margin-top: -10px;
  }

  /* Home last posts */
  .home-last,
  .instagram-feed {
    padding: 66px 0 60px 0;
    width: 100%;
  }

  .home-last h2,
  .categories-home h2,
  .instagram-feed h2 {
    font-size: 36px;
  }

  .last-grid {
    display: block;
  }

  .post-info {
    display: none;
  }

  .last-post h3 {
    margin-top: 18px;
    font-size: 21px;
    margin-bottom: 40px;
  }

  .circle.last-post {
    margin: 0;
    margin-right: 4vw;
  }

  /* Archive */
  .archive-parents {
    text-transform: uppercase;
    font-family: 'Scto Grotesk A Demo', sans-serif;
    font-size: 18px;
    letter-spacing: .1px;
    cursor: pointer;
    margin-bottom: 70px;
    display: block;
    text-align: center;
  }

  .archive-parents::after{
    display: inline-block;
    content: '';
    width: 16px;
    height: 16px;
    visibility: visible;
    background-image: url("../assets/next.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    top: 1px;
    margin-left: 14px;
  }



  /* Single post */
  .last-hero.single-post {
    width: 100vw;
    margin: 0;
    margin-left: -20px;
    margin-right: -40px;
    padding: 60px 20px 0 20px;
  }

  .last-hero.single-post h2 {
    padding: 0;
    font-size: 36px;
    margin-bottom: 30px;
  }


  .single-content {
    font-size: 16px;
    text-align: left;
    margin-top: 0;
    width: 100%;
  }

  .paragraph {
    margin-bottom: 42px;
    padding-left: 0;
    padding-right: 0;
    line-height: 1.3;
  }

  p.post-date {
    padding-right: 0;
  }

  .paragraph p {
    margin-bottom: 26px;
    line-height: 1.4;
  }

  .old-content p {
    padding-left: 0;
    padding-right: 0;
  }

  .old-content img {
    margin: 26px 0;
  }

  .old-content {
    margin-top: -26px;
  }

  .two-images {
    width: 100%;
    display: block;
    margin-bottom: 32px;
  }

  .two-images div {
    width: 100%!important;
    margin-bottom: 32px;
  }

  .two-images div:first-child {
    padding-right: 0;
  }

  .two-images div:last-child {
    padding-left: 0;
  }

  .two-images img {
    width: 100%;
  }

  .caption {
    width: 100%;
    max-width: 100%;

  }

  .wide-image {
    margin-bottom: 32px;
  }

  .wide-image img {
    width: 100%;
  }

  /* Categories home */
  .categories-home {
    margin: 0;
    margin-left: -20px;
    margin-right: -20px;
    padding: 60px 20px 60px 20px;
    width: 100vw;
  }

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0;
    text-align: center;
    list-style: none;
  }

  .categories-grid img {
    height: 200px;
  }

  .categories-grid li {
    height: 200px;
  }

  .categories-grid li p {
    font-size: 21px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    background-color: rgba(255, 255, 255, 0.6);
    padding: 14px 14px;
    width: 80%;
  }

  .categories-grid li {
    margin-bottom: 20px;
  }

  .categories-grid li a {
    font-size: 21px;
  }

  .categories {
    margin: 0 -20px 20px -20px;
    padding: 0 20px 60px 20px;
    width: 100%;
  }

  .categories-cat {
    margin-bottom: 60px;
  }

  /* Instagram feed */

  ul.wpmi-list {
    width: 100%;
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  li.wpmi-item {
    flex-basis: calc(100% / 2);
  }

  ul.wpmi-list li:nth-child(5),
  ul.wpmi-list li:nth-child(6) {
    display: none;
  }

  li.wpmi-item {
    width: 100%!important;
    margin-bottom: 0;
  }

  li.wpmi-item img {
    width: 100%!important;
  }

  /* Comments */

  .comments-area {
    width: 100%;
  }

  input.submit {
    margin-top: 20px;
  }

  /* Colors */
  a.liked {
  	color: #000;
  }
  a.liked:hover,
  a.liked:active,
  a.liked:focus {
  	color: #000;
  }
  a.liked span.sl-count,
  .sl-count {
  	color: #000;
  }

  /* Icon */
  .sl-icon {
  	margin-right: 0.3125em;
  	font-family: 'Arial Unicode MS', Arial, sans-serif;
  	vertical-align: middle;
  }
  .sl-icon svg {
  	fill: currentColor;
  	width: 1em;
  	height: 1em;
  }
  .sl-icon svg:after {
  	content: "";
  	position: absolute;
  	top: 0;
  	right: 0;
  	bottom: 0;
  	left:0;
  }

  /* Count */
  .sl-count {
    padding-left: 4px;
  	font-size: 13px;
    font-family: 'Scto Grotesk A Demo', sans-serif;
    text-transform: uppercase;
  	vertical-align: middle;
  }

  /* Related posts */
  .single-related {
    margin: 200px 0;
  }

  .single-related h2 {
    margin-bottom: 52px;
  }

  /* About */

  .about-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 56px;
  }

  .about-left,
  .about-right {
    padding: 0!important;
  }

  .about-right {
    margin-top: 40px;
  }

  .about-right p {
    margin-bottom: 60px;
}

  .about-content div {
    width: 100%;
  }

  /* Footer */
  .site-footer {
    width: 100vw;
    margin-left: -20px;
    margin-right: -20px;
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .site-footer h4 {
    margin-bottom: 10px;
  }

  .site-footer p,
  .footer-contact a {
    text-transform: uppercase;
    font-family: 'Scto Grotesk A Demo', sans-serif;
    font-size: 13px;
    letter-spacing: -0.2px;
  }

  .site-footer div {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .site-footer div:last-child {
    margin-bottom: 0;
  }

  .menu-btn {
    margin-top: 6px;
}



  .footer-navigation ul li:first-child {
    display: none;
  }


}



 /* Menu */
 @media (max-width: 1049.98px){


     /* Header */
     .site-header {
       width: 100%;
       position: fixed;
       top: 0;
       left: 0;
       padding: 26px 20px;
       display: flex;
       justify-content: space-between;
       align-items: center;
       font-family: 'Scto Grotesk A Demo', sans-serif;
       text-transform: uppercase;
       background-color: #fff;
       transition: opacity .3s ease-in-out;
       z-index: 99999999;
       height: 60px;
     }

     .logo {
       height: 42px;
     }


     .phone-menu {
       display: block;
       position: absolute;
       right: 20px;
     }

     .phone-menu span {
       cursor: pointer;
     }

     /* Menus */
     .site-header nav ul {
       display: none;
     }

     .phone-menu nav ul {
       list-style: none;
       display: block;
       text-align: center;
     }

     .phone-overlay {
       position: fixed;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       background-color: #fff;
       z-index: 999999999;
       -webkit-transform: translateX(-100%);
       transform: translateX(-100%);
       transition: transform .3s ease;
       font-family: 'Domaine Text', serif;
       line-height: 1.3;
       text-transform: none;
       font-size: 26px;
     }

     .phone-container {
       position: absolute;
       top: 50%;
       left: 50%;
       -webkit-transform: translate(-50%,-50%);
       transform: translate(-50%,-50%);
     }

     .phone-close {
       display: none;
       content: '';
       width: 13px;
       height: 13px;
       visibility: visible;
       background-size: contain;
       background-repeat: no-repeat;
       background-position: center;
       background-image: url("../assets/close.svg");
       position: fixed;
       top: 20px;
       right: 20px;
       z-index: 999999999;
       cursor: pointer;
     }

     .close-active {
       display: block;

     }

     .menu-open {
       -webkit-transform: translateX(0);
       transform: translateX(0);
     }

     .main-navigation_phone li {
       display: block;
       margin-right: 0;
       line-height: 1.5;
     }

     .second-navigation_phone {
       display: block;
     }

     .second-navigation_phone li:first-child {
       display: block;
       margin-left: 0;
       margin-bottom: 26px;
           width: max-content;
     }

     .second-navigation_phone li {
       display: inline-block;
       margin-left: 0;
     }

     /* Header search */
     .header-search {
       display: none;
     }

     .open {
       -webkit-transform: translateY(0);
       transform: translateY(0);

     }

     .menu-btn {
       margin-left: 4px!important;
     }

     #search-close {
       display:none;
     }

     #search-close::after {
       bottom: 0;
     }



     .second-navigation_phone li:nth-child(2) {
       margin-left: 0!important;
     }



     /* Search icon */
     .search-mobile .search-field {
       border: 0;
       width: 100%;
       font-size: 26px;
       line-height: 1.3;
       font-family: 'Domaine Text', serif;
       text-align: center;
     }

     .search-btn {
       display: none;
     }

     .search-btn:before {
       display: none;
     }

     /* Social icons */
     .instagram-btn a::before,
     .facebook-btn a::before,
     .youtube-btn a::before,
     .bloglovin-btn a::before {
       display: inline-block;
       vertical-align: baseline;
       font-size: 20px;
     }


     .header-search div {
       position: absolute;
       left: 50%;
       top: 50%;
       -webkit-transform: translate(-50%);
       transform: translate(-50%);
     }

     .search-submit {
       visibility: hidden;
     }

     .search-field {
       border: 0;
       border-bottom: 1px solid #000;
       width: 80vw;
       font-size: 20px;
       line-height: 1.3;
       font-family: 'Domaine Text', serif;
       text-align: center;
       z-index: 999;
     }


       .footer-navigation .menu-btn {
           margin-left: 24px;
           margin-right: 24px;
       }


       .instagram-btn a::before,
       .facebook-btn a::before,
       .youtube-btn a::before,
       .bloglovin-btn a::before {
         font-size: 20px;
       }

       .instagram-btn a::before {
         font-size: 21px;
       }



 }

 /* Small devices */
 @media (max-width: 1099.98px) {

   .last-grid {
     display: grid;
     grid-template-columns: 1fr;
     grid-column-gap: 20px;
     grid-row-gap: 70px;
   }

 }
