@media (max-width: 1200px) {
  .body-wrapper,
  .entry-header {
    width: 100%;
    padding: 0 5px;
  }

  .home .esn-ainfo-widget {
    width: 100%;
  }

  .site-footer-content-wrapper {
    padding: 40px;
  }
}

@media (max-width: 1024px) {
  .main-navigation li a {
    font-size: 15px;
  }

  .top-bar .body-wrapper {
    display: flex;
    font-size: 15px;
    justify-content: space-between;
  }

  .top-bar-icons,
  .esn_recent_trending_post_widget .widget-title a {
    font-size: 15px;
  }

  .page-template-unicode .header-right-ad {
    grid-template-columns: auto;
  }
}

@media (min-width: 769px) {
  .menu-item-has-children:hover > .sub-menu {
    left: 0;
  }
}

@media (max-width: 768px) {
  .esn_road_block_ad .esn-ainfo-widget {
    width: 100%;
  }

  .top-bar .body-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .twin-ad-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 10px;
  }

  .top-bar .body-wrapper {
    display: flex;
    justify-content: space-between;
  }

  .trending-posts-wrapper,
  .recent-posts-wrapper {
    grid-template-columns: 1fr 1fr;
  }

  h2.trending-title {
    grid-column: span 2;
  }

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

  .header-right-ad {
    margin-bottom: 10px;
  }

  .news-highlight span {
    font-size: 18px;
  }

  .title-big {
    font-size: 30px;
    line-height: 1.5;
  }

  .breaker-news-summary p {
    font-size: inherit;
  }

  .main-navigation {
    min-height: 50px;
  }

  #nav-toggle {
    display: block;
    background: var(--pcolor);
  }

  .main-navigation ul {
    padding-right: 0px;
  }

  .main-navigation li {
    /* display: inline-flex; */
    padding-right: 0;
  }

  ul#primary-menu {
    min-height: 45px;
    display: flex;
    position: relative;
    white-space: nowrap;
    overflow-x: scroll;

    flex-wrap: nowrap;
    align-content: center;
    margin-right: 40px;
  }

  .main-navigation li a {
    font-size: 18px;
    font-weight: 600;
  }

  .menu-item-has-children {
    padding-right: 55px;
  }

  .main-navigation ul ul {
    left: auto;
    display: none;
    background: #ffffff;
  }

  .menu-item-has-children::after {
    content: none;
  }

  .menu-item-has-children:hover::after {
    content: none;
  }

  li.search-box {
    width: 100%;
    display: none;
  }

  li.search-box input {
    width: 100%;
    padding-right: 40px;
  }

  .search-submit {
    position: absolute;
    right: 0;
    top: 0;
    padding: 14px 15px;
  }

  .search-wrapper {
    position: relative;
  }

  .english-nav {
    position: relative !important;
    left: 0;
    background: inherit;
  }

  .grid-3-1 {
    grid-template-columns: 1fr;
  }

  /**
	 * CSS for 4 ESN: Side Middle Side Section Widget
	 */
  .side_middle_side_news .big-thumb-list {
    grid-template-columns: 1fr;
  }

  .side_middle_side_news .big-thumb-img-wrap {
    height: auto;
  }

  /**
	 * 6 ESN: One Thumb Side, Three Small Thumb with Side Ads Widget
	 */
  .one-big-three-thumb-section.grid-1-1 {
    grid-template-columns: 1fr;
  }

  .one-three-big-thumb-section .big-thumb-img-wrap {
    height: auto;
  }

  /**
	 * Side List News Alone
	 */
  .list-news-section-wrapper {
    margin: 10px 0;
  }

  .list-news-rest {
    padding: 5px 0;
  }

  .side_list_alone_second_widget .list-news-rest::before {
    top: 5px;
  }

  /**
	 * 5 ESN: Big Thumb Four Small Thumb News Widget
	 */
  .one-four-wrapper.grid-1-1 {
    grid-template-columns: 1fr;
  }

  .one-big-thumb-img-wrap {
    height: auto;
  }

  .one-big-thumb-title-wrap {
    text-align: left;
  }

  .four-news-img-wrap {
    height: 200px;
  }

  /**
	 * CSS for 8 ESN: Predesh News Widget
	 */

  .four-thumb-pradesh {
    grid-template-columns: 1fr 1fr;
  }

  /**
	 * CSS for 7 ESN: Horizontal Four News Widget
	 */

  .hr-four-news-section.grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  /**
	 * CSS for 3 ESN: Big Thumb Small List with Side Section Widget
	 */

  .big-thumb-list.grid-3-2 {
    grid-template-columns: 1fr;
  }

  .big-thumb-section .big-thumb-img-wrap {
    height: auto;
  }

  /**
	 * CSS for 14 ESN: Video News Widget
	 */

  .video-big-thumb-wrap.grid-2-1 {
    grid-template-columns: 1fr;
  }

  /**
	 * CSS for Footer Section
	 */

  .site-footer-content-wrapper.grid-3.body-wrapper {
    padding: 10px;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer img {
    width: 100%;
  }

  .site-footer section:after {
    content: none;
  }

  /**
	 * Post Pages
	 */

  h1.entry-title {
    font-size: 30px;
  }

  .single-post .site .primary-secondary-wrap {
    grid-template-columns: 1fr;
  }

  /**
	 * Archive/Search Page
	 */
  .archive article:first-of-type,
  .search article:first-of-type {
    grid-column: auto;
  }

  .archive .site-main,
  .search .site-main,
  .author-news-wrap {
    grid-template-columns: 1fr 1fr;
  }

  .archive article:first-of-type .entry-header h2,
  .search article:first-of-type .entry-header h2 {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    display: block;
    padding: 0 10px;
    height: 60px;
  }

  .archive article:first-of-type .entry-summary,
  .search article:first-of-type .entry-summary {
    display: none;
  }

  .archive article:first-of-type .home,
  .search article:first-of-type .home {
    display: inline-flex;
  }
}

@media (max-width: 426px) {
  .top-icons-wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .site-footer-content-wrapper.grid-3.body-wrapper {
    padding: 10px;
    grid-template-columns: 1fr;
  }

  #st-1.st-justified {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
  }

  .fb-comment-title {
    flex-direction: column;
  }

  ul.related-post-news-list {
    grid-template-columns: 1fr 1fr;
  }

  .fb-comment-title > a::before {
    content: none !important;
  }

  .fb-comment-title > a {
    font-size: 18px;
  }

  ul.related-post-news-list .widget-image a {
    height: auto;
  }
}

@media (max-width: 426px) {
  .four-thumb-pradesh {
    grid-template-columns: 1fr;
  }

  .home_breaker_news.grid-1-1,
  .home_breaker_news.grid-3 {
    display: flex;
    flex-direction: column;
  }

  .grid-4 {
    display: flex;
    flex-direction: column;
  }
  .recent-trending-top {
    flex-direction: column-reverse;
  }

  .esn_recent_trending_post_widget .widget-title {
    justify-content: center;
  }

  /**
	 * CSS for 9 ESN: Two Thumb Above, Four Small Thumb Below with Side Ads Widget
	 */

  .date-time-weapper {
    font-size: 13px;
  }

  .esn_recent_trending_post_widget .widget-title a {
    font-size: 13px;
    padding: 5px;
  }

  .trending-posts-wrapper,
  .recent-posts-wrapper {
    grid-template-columns: 1fr;
  }

  h2.trending-title {
    grid-column: auto;
  }

  .two-three-big-thumb-section-wrapper.grid-1-1 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-1-1 {
    grid-template-columns: 1fr;
  }

  .three-thumb-news-img-wrap {
    height: auto;
  }

  /**
	 * 5 ESN: Big Thumb Four Small Thumb News Widget
	 */

  .four-news-img-wrap {
    height: auto;
  }

  /**
	 * CSS for 8 ESN: Predesh News Widget
	 */

  .pradesh-news-wrapper .widget-title:nth-child(1) {
    position: unset;
    text-align: center;
  }

  .pradesh-news-wrapper .widget-title:nth-child(2) {
    display: flex;
    text-align: center;
    width: 100%;
    overflow: scroll;
  }

  .pradesh-news-wrapper .widget-title:nth-child(2) a {
    white-space: nowrap;
  }

  .four-thumb-pradesh {
    grid-template-columns: 1fr;
  }

  .presesh_news {
    padding: 5px;
  }

  /**
	 * CSS for 7 ESN: Horizontal Four News Widget
	 */

  .hr-four-news-section.grid-4 {
    grid-template-columns: 1fr;
  }

  /**
	 * CSS for 14 ESN: Video News Widget
	 */

  .video-news-wrapper .big-thumb-section .big-thumb-img-wrap a::after {
    width: 100px;
    height: 100px;
    font-size: 50px;
    top: 25%;
    padding-top: 10px;
    left: 40%;
  }

  .video-news-wrapper .list-news-section-wrapper .list-news-img-wrap a::after {
    left: 35%;
    width: 30px;
    height: 30px;
    font-size: 15px;
    top: 30%;
  }

  .video-news-wrapper .big-thumb-title-wrap {
    font-size: 20px;
  }

  /**
	 * CSS for Footer Section
	 */

  .site-footer {
    text-align: center;
  }

  .social-wrapper {
    justify-content: center;
  }

  .footer-widget ul {
    display: flex;
    flex-direction: column;
  }

  .footer-widget .menu-item-has-children {
    padding-right: 0;
  }

  /**
	 * Post Pages
	 */

  .author-pub-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    grid-gap: 0;
  }

  .author-pub-wrapper .posted-on {
    display: block;
  }

  ul.related-post-news-list {
    grid-template-columns: 1fr;
  }

  /**
	 * Archive/Search Page
	 */
  .archive .site-main,
  .search .site-main,
  .author-news-wrap {
    grid-template-columns: 1fr;
  }

  /**
	 * MISC
	 */
  .stabcontent .list-news-rest:nth-child(1) .list-news-img-wrap,
  .stabcontent .list-news-rest:nth-child(2) .list-news-img-wrap,
  .stabcontent .list-news-rest:nth-child(3) .list-news-img-wrap {
    height: 100%;
    width: 100%;
    max-height: 200px;
  }
}

@media (max-width: 375px) {
  .date-time-weapper {
    font-size: 12px;
  }

  .esn_recent_trending_post_widget .widget-title a {
    font-size: 12px;
  }

  .top-bar .body-wrapper {
    flex-direction: column;
    align-items: center;
  }
}
