@media only screen and (min-width: 1440px) and (max-width: 2560px) {
  /* Category Grid */
  .category-index-item {
    margin: 1rem 1rem 2.5rem;
  }

  .category-index-item-img {
    height: 218px;
  }

  .show-search {
    right: 75px;
    top: 5px;
  }
}

@media only screen and (min-width: 942px) and (max-width: 1440px) {
  .show-search {
    right: 75px;
    top: 5px;
  }

  /* Featured slider */
  .feat-item {
    height: 461px;
  }

  /* Promo Boxes */
  .promo-item {
    width: 293px;
    height: 172px;
  }

  #main.fullwidth .sp-grid > li {
  }

  #main.fullwidth .item-related {
    width: 292px;
    margin-right: 32px;
  }

  #main.fullwidth .item-related:last-child {
    margin-right: 0;
  }

  /* Footer */
  #footer-social a {
    margin-right: 5px;
  }

  /* Category Grid */
  .category-index-item {
    height: 218px;
    margin: 1rem 1rem 2.5rem;
  }

  .category-index-item-img {
    height: 218px;
  }

}

@media only screen and (min-width: 768px) and (max-width: 960px) {
  #top-social {
    display: none;
  }

  .container, .section-container {
    width: 726px;
  }

  #header.noslider {
    margin-bottom: 30px;
  }

  #top-search {
    display: none;
  }

  #top-search-mobile {
    display: block;
  }

  #top-search-mobile input#s {
    width: 100%;
    margin-top: 12px;
  }

  #main {
    width: 100%;
  }

  #sidebar {
    width: 480px;
    margin: 0 auto;
    float: none;
    overflow: hidden;
  }

  .top-bar-wrapper {
    position: absolute;
    margin-right: 10px;
    top: 0;
    right: 0;
    width: 100vw;
  }

  .nav-controls {
    position: absolute;
    top: 10px;
    right: 10px;
  }

  #logo {
    margin: 0 auto;
    padding: 0;
  }

  #logo img {
    max-width: 100%;
  }

  #nav-wrapper {
    display: none;
  }

  #top-bar {
    display: none;
  }

  #nav-wrapper {
    display: none;
  }

  .slicknav_menu {
    display: block;
    background: none;
  }

  .menu-social {
    display: flex;
    font-size: 26px;
    margin-top: 1rem;
    justify-content: center;
  }

  .menu-social a {
    font-size: 26px;
  }

  .home-page-about-me {
    background-image: url("../img/keto-karma-food-family-suzanne_0362-wall@2x.jpg");
    background-position: 78%;
  }

  /* Grid items */
  .sp-grid > li, #main.fullwidth .sp-grid > li {
    width: 347px;
  }

  #main.fullwidth .sp-grid > li {
    margin-right: 26px;
  }

  #main.fullwidth .sp-grid li:nth-of-type(2n+2) {
    margin-right: 0;
  }

  #main.fullwidth .sp-grid li:nth-of-type(2n+3) {
    margin-right: 26px;
  }

  /* Featured slider */
  .feat-item {
    height: 356px;
  }

  .feat-overlay h2 {
    font-size: 23px;
  }

  /* Featured Grid */
  .featured-grid {
    display: grid;
  }

  .featured-grid-item {
    height: auto;
  }

  .featured-grid-item-content {
    position: relative;
  }

  .featured-grid-item-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    flex: none;
  }

  .featured-recipe-meta-item {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .featured-recipe-meta-item-title {
    margin: 0;
  }

  .featured-recipe-controls {
    position: absolute;
    bottom: 15px;
    width: 300px;
  }

  .featured-grid-image {
    height: 300px;
  }

  /* Promo Boxes */
  .promo-item {
    width: 230px;
    height: 135px;
    margin-right: 18px;
  }

  /* Related items */
  .item-related, #main.fullwidth .item-related {
    width: 230px;
    margin-right: 18px;
  }

  #main.fullwidth .item-related:last-child {
    margin-right: 0;
  }

  /* Footer */
  .footer-container {
    flex-direction: column-reverse;
  }

  #footer .inline-email-signup-contents {
    align-items: normal;
    justify-content: start;
  }

  .footer-section {
    margin-bottom: 1.5rem;
  }

  .footer-email-signup {
    margin-bottom: 2rem;
  }

  #footer-social a {
    font-size: 18px;
  }

  /* Category Grid Items */
  .category-index-item-img {
    height: 218px;
  }
}

/* Mobile Phones */
@media only screen and (max-width: 767px) {
  .fullwidth-section-mobile, .fullwidth-section-tablet {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
  }

  .secondary-text {
    font-size: 36px;
  }

  #content {
    margin: 0;
  }

  #top-social {
    display: none;
  }

  #header.noslider {
    margin-bottom: 30px;
    height: 114px;
  }

  .top-bar-wrapper {
    position: absolute;
    margin-right: 10px;
    top: 0;
    height: 45px;
    right: 0;
    width: 70vw;
  }

  #top-search {
    display: none;
  }

  #top-search-mobile {
    display: block;
    margin-top: 12px;
  }

  #top-search-mobile input#s {
    width: 100%;
  }

  .container {
    width: 330px;
  }

  #main {
    width: 100%;
  }

  #sidebar {
    width: 100%;
  }

  #logo {
    position: relative;
    padding: 0;
    top: 0;
  }

  #logo img {
    width: auto;
  }

  #nav-wrapper {
    display: none;
  }

  .slicknav_menu {
    background: none;
    display: block;
  }

  .menu-social {
    display: flex;
    font-size: 26px;
    margin-top: 1rem;
    justify-content: center;
  }

  .menu-social a {
    font-size: 26px;
  }

  #top-bar {
    display: none;
  }

  /* grid item */
  .sp-grid > li, #main.fullwidth .sp-grid > li {
    width: 100%;
    margin-right: 0;
  }

  .post-meta-item {
    margin-right: 8px;
  }

  /* List layout */
  .list-item .post-img img {
    max-width: 90px;
  }

  .list-item .post-img {
    margin-right: 16px;
  }

  .list-item p {
    display: none;
  }

  .list-item .post-header h2 a {
    font-size: 14px;
    letter-spacing: 1px;
  }

  .list-item .post-header h2 {
    margin-bottom: 9px;
  }

  .list-item .post-header {
    margin-bottom: 0;
  }

  #main.fullwidth .list-item .post-img img {
    max-width: 90px;
  }

  .list-title-divider {
    margin: 0 0 10px;
  }

  /* Featured slider */
  .feat-item {
    height: 200px;
  }

  .feat-overlay h2 {
    font-size: 15px;
  }

  .feat-more {
    font-size: 9px;
    padding: 8px 9px 9px 10px;
  }

  .feat-inner {
    max-width: 80%;
  }

  .feat-overlay h2 {
    margin-bottom: 12px;
  }

  .feat-overlay .cat a {
    margin: 0 3px 10px;
  }

  .section-container {
    width: 330px;
  }

  .kk-bookAd {
    flex-direction: column;
  }

  .kk-bookAd-bookItem {
    margin-bottom: 2rem;
  }

  .kk-bookAd-text {
    margin: 1rem 0;
    font-size: 1rem;
  }

  .kk-bookAd-title {
  }

  .kk-bookAd-links {
    display: flex;
    flex-direction: column;
  }

  /* Category list slider */
  .category-list-item-title {
    font-size: 14px;
  }


  /* Promo Boxes */
  .promo-item {
    width: 100%;
    height: 176px;
    margin-bottom: 30px;
  }

  /****************************************/
  /* Home Page About Me
  /****************************************/
  .home-page-about-me {
    background-image: url("../img/keto-karma-food-family-suzanne_0362-wall-crop@2x.jpg");
    background-position: 25% top;
    background-size: 150%;
    height: 676px;
  }

  .home-page-about-me-content-container {
    width: 100%;
    flex: 1;
    align-items: flex-end;
    background-color: transparent;
  }

  .home-page-about-me-content {
    padding: 0;
  }

  .home-page-about-me-content a {
    width: 100%;
  }

  /****************************************/
  /* Home Page As Seen On
  /****************************************/
  .home-page-as-seen-on-content {
    display: block;
  }

  .home-page-as-seen-on-content:after {
    content: 'flickity';
    display: none; /* hide :after */
  }

  .home-page-as-seen-img {
    margin: 0 3rem 0 2rem;
    width: 125px;
  }

  /* Related items */
  .item-related, #main.fullwidth .item-related {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .post-related-items {
    flex-direction: column;
  }

  /* Post header */
  .post-header h2, .post-header h1 {
    max-width: 100%;
  }

  .post-header h2 a, .post-header h1 {
    font-size: 19px;
    letter-spacing: 2px;
  }

  .post-header-meta {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .post-header-controls {
    font-size: 16px;
    flex-wrap: wrap;
    height: 68px;
  }

  .post-header-controls div:after {
    padding: 0 9px
  }

  .post-header-controls div:nth-child(3):after {
    content: '';
    padding: 0 5px
  }

  .post-header-information {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
  }

  .post-header-print-description {
    display: none;
  }

  .post-header-share {
    width: 100%;
    margin-top: 1rem;
  }

  .post-header-share a {
    font-size: 1.6em;
    margin-right: 1.5rem;
  }

  .post-header-share a:last-child {
    margin-right: 0;
  }

  .post-header-shareQrDesc {
  }

  .post-date {
    margin-left: 0;
  }

  .post-header-macros {
    justify-content: space-between;
  }

  /* post share */
  .post-share-box {
    width: 100% !important;
    border-left: none;
    border-bottom: 1px solid #e5e5e5;
    height: 48px;
    line-height: 48px;
  }

  .post-share-box:last-child {
    border-bottom: none;
  }

  /* Author box */
  .author-img {
    margin-right: 16px;
  }

  .author-img img {
    max-width: 60px;
    height: auto;
  }

  /* Featured Grid */
  .featured-grid {
    display: block;
  }

  .featured-grid:after {
    content: 'flickity';
    display: none; /* hide :after */
  }

  .featured-grid-image img {
    /*height: 400px;*/
  }

  .featured-grid-item {
    font-size: 1.2rem;
    align-items: center;
    margin-bottom: 1rem;
    text-align: center;
    margin-right: 15px;
    width: 80%;
  }

  .featured-recipe-controls {
    margin-top: 2rem;
  }

  .featured-recipe-macros {
  }

  .featured-recipe-meta-item {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .featured-recipe-meta-item-title {
    margin: 0;
  }

  .featured-grid-item-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .featured-navigation-link {
    display: none;
  }

  .featured-grid-section-controls {
    justify-content: center;
  }

  /* Recipe card */
  .recipe-card-button-primary {
    justify-content: center;
  }

  .recipe-card-meta {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  ul.recipe-card-meta-items {
    font-size: 16px;
    padding-left: 0;
    width: 100%;
    margin-bottom: 0;
  }

  .recipe-card-meta-rating {
    flex-direction: column;
    align-items: flex-start;
  }

  .recipe-card-meta-actions {
    margin: .875rem 0 1rem 0;
  }

  .wprm-recipe-block-container {
    margin-left: 7px;
  }

  .recipe-card-macros .wprm-recipe-nutrition-container {
    width: 90px;
    font-size: 14px;
  }

  .recipe-card-addToCart {
    margin-left: 0;
    width: 100%;
  }

  .recipe-card-addToCart-button {
    width: 100%;
  }

  .wprm-recipe-image img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
  }

  /* Inline email sign up */
  .inline-email-signup {
  }

  .inline-email-signup-contents {
    flex-direction: column;
  }

  .inline-email-signup-controls {
    width: 100%;
  }

  .inline-email-signup-title {
    margin: 0 0 1.5rem;
  }

  /* Footer */
  .footer-container {
    flex-direction: column-reverse;
  }

  #footer .inline-email-signup-contents {
    align-items: normal;
  }

  .footer-section {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .footer-email-signup {
    margin-bottom: 2rem;
  }

  #footer-social a {
    font-size: 18px;
  }

  /* Instagram */
  #instagram-footer ul.instagram-pics > li {
    width: 25% !important;
  }

  #instagram-footer ul.instagram-pics > li:nth-child(8), #instagram-footer ul.instagram-pics > li:nth-child(7), #instagram-footer ul.instagram-pics > li:nth-child(6), #instagram-footer ul.instagram-pics > li:nth-child(5) {
    display: none;
  }
}

@media only screen and (min-width: 480px) and (max-width: 768px) {

  /* grid item */
  .post-meta-item {
    margin-right: 8px;
  }

  /* List layout */
  .list-item .post-img img {
    max-width: 150px;
  }

  .list-item .post-img {
    margin-right: 22px;
  }

  .list-item .post-header h2 a {
    font-size: 17px;
  }

  .list-item .post-header h2 {
    margin-bottom: 8px;
  }

  #main.fullwidth .list-item .post-img img {
    max-width: 150px;
  }

  /* Featured slider */
  .feat-item {
    height: 300px;
  }

  .feat-overlay h2 {
    font-size: 17px;
  }

  .feat-inner {
    max-width: 70%;
  }

  /* Promo Boxes */
  .promo-item {
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
  }

  .promo-item:last-child {
    margin-bottom: 0;
  }

  /* Related items */
  .item-related, #main.fullwidth .item-related {
    margin-right: 18px;
  }

  /* Author Box */
  .author-img img {
    max-width: 70px;
    height: auto;
  }

  /* Footer */
  #footer-social a {
    font-size: 18px;
    margin: 0 18px;
  }
}
