/* rem and em do NOT depend on html font-size in media queries! Instead, 1rem = 1em = 16px */

/**************************/
/* BELOW 1136 (Smaller desktops) */
/**************************/

@media (max-width: 71em) {
  .calendar {
    grid-template-columns: 1fr;
    row-gap: 5rem;
    padding: 0;
  }

  .calendar-time-box {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .event-box {
    grid-column: 1 / -1;
  }

  /* RASHIFAL PAGE */
  .rashi-today--box {
    grid-template-columns: 1fr;
    row-gap: 5rem;
  }

  .news-box {
    padding: 5rem;
  }

  .news-cont-box {
    max-width: 500px;
  }
}

@media (max-width: 63em) {
  .calendy-info {
    display: none;
  }

  .footer-para {
    max-width: 50rem;
  }

  .blog-post-img {
    width: 100%;
  }
}

@media (max-width: 69em) {
  /* .blog-posts--container {
    grid-template-columns: 1fr;
  } */

  .blog-posts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(1, 1fr);
  }

  .down-blog--post {
    grid-column: 1 / -1 !important;
  }

  .blog-content {
    height: auto;
  }
}

@media (max-width: 51em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }

  /* RASHIFAL PAGE */
  .rashi-navigation--box {
    flex-flow: column;
    gap: 5rem;
    align-items: flex-start;
  }

  .nepali-astrology {
    column-gap: 3rem;
    row-gap: 3rem;
    /* row-gap: 4rem; */
  }

  .contact-form {
    width: 100%;
  }
}

@media (max-width: 46em) {
  .nepali-astrology {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 42em) {
  .month-box {
    height: 80px;
    justify-content: center;
  }

  .month-info,
  .month-laxmi {
    display: none;
  }

  /* Footer */

  .footer {
    grid-template-columns: repeat(6, 1fr);
    row-gap: 6rem;
    align-items: start;
  }

  .logo-box {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .product-box {
    grid-column: 1 / 3;
  }

  .company-box {
    grid-column: 3 / -1;
  }

  .policy--box {
    grid-column: 1 / -1;
    margin: 0;
    line-height: 1.5;
    align-items: flex-start;
    gap: 0 !important;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-grp {
    grid-column: 1 / -1;
  }
}

@media (max-width: 36em) {
  .date-navigation {
    flex-flow: column-reverse;
    row-gap: 4rem;
  }

  .right-time {
    display: block;
    align-self: flex-end;
  }

  .range-left {
    width: 100%;
    justify-content: space-between;
  }

  .range-box {
    justify-content: space-between;
    width: 100%;
  }

  .policy--box {
    flex-flow: column-reverse;
    gap: 2rem;
  }

  .two-time {
    flex-flow: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .header {
    padding: 3rem 2.2rem;
    /* margin-bottom: 3rem; */
    justify-content: space-between;
  }

  .main-nav {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hide-me {
    display: block;
  }

  .search-event {
    display: none;
  }

  .two-time {
    flex-flow: row;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-img--box {
    height: 220px;
  }

  .blog-post-img {
    width: 100%;
  }
}

@media (max-width: 33em) {
  .right-time {
    font-size: 2rem !important;
  }

  .today-date-info {
    font-size: 3rem;
  }

  .today-jotyish-info-time,
  .two-time {
    font-size: 2rem;
  }

  .event-came-info {
    font-size: 1.6rem;
  }

  .weekend--box {
    font-size: 1.4rem !important;
  }

  .weekend--box span:nth-child(3) {
    display: none;
  }

  .small-week {
    display: block;
  }

  .desk-show {
    display: none;
  }

  .forex-main--head {
    font-size: 2rem;
  }

  .forex-table {
    font-size: 1.4rem;
    line-height: 1.5;
  }
}

@media (max-width: 29em) {
  html {
    font-size: 35%;
  }

  .event-came-time {
    font-size: 1.6rem;
    justify-content: center;
    gap: 1rem;
  }

  .astro-img-box {
    height: 60px;
  }

  .astro-name--box {
    font-size: 3rem;
  }

  .rashi-nav-link a,
  .news-para,
  .news-form-box input,
  .astro-link-words,
  .astro-data--box {
    font-size: 2.2rem;
  }

  .rashi-today,
  .news-heading {
    font-size: 3.4rem;
  }

  /* FOREX */
  .forex-main--head {
    font-size: 2.2rem;
  }

  .forex .radius {
    border-radius: 15px;
  }

  .forex-table {
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .blog-img--box {
    height: 120px;
  }
}

@media (max-width: 22em) {
  html {
    font-size: 30%;
  }

  .event-came-time,
  .small-week,
  .event-came-info,
  .right-time {
    font-size: 2.2rem;
  }
}
