/*
Theme Name: TrendnDailyAmerica
*/
/* Reset css */
body{ -webkit-text-size-adjust: 100%; }
*{margin:0;padding:0;box-sizing:border-box}
body,html{height:100%;-webkit-text-size-adjust:100%;word-break:break-word;vertical-align:baseline}
a{text-decoration:none;color:inherit;font: inherit;}
button{color: inherit;font: inherit;outline: 0;cursor: pointer;border: 0;box-shadow: 0;background: none;}
input::-webkit-inner-spin-button,input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
a,abbr,acronym,address,applet,big,blockquote,caption,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,ul,var{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}
ol,ul,li{list-style:none}
table{border-collapse:separate;border-spacing:0}
caption,td,th{text-align:left;}
img{width: 100%;}
textarea:focus, input:focus{ outline: none; }
select{-webkit-appearance: none; -moz-appearance: none;}
.blog-content ul li, .blog-content ol li {
color: #445566;
}
body,
input,
button,
textarea,
h1,
p {
  font-family: 'Space Grotesk', sans-serif;
}
html{
  background: #F9F9F7;
}
@-ms-viewport { width: device-width; }


/* header-footer section */
.container {
  margin: 0 auto;
  max-width: 1200px;
  margin: 0 auto;
}
.top-section {
  width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 0 20px;
}
.header-section {
  padding: 0;
  max-width: none;
  margin: 0;
  width: auto;
  display: block;
  position: static;
}
span.b_slash {
  display: inline-block;
  flex-direction: row;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 60%;
  margin: 0 4px;
}
#navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding-top: 20px;
}

#navigation .logo {
  width: 188px;
  height: auto;
}

#navigation .hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  top: 19px;
  right: 20px;
  z-index: 1000;
}

#navigation .hamburger span:nth-child(2) {
  margin: 4px auto;
}

#navigation .hamburger span {
  width: 20px;
  height: 2.3px;
  background-color: #19202E;
  transition: all 0.3s ease;
  border-radius: 5px;
}

#navigation .hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 5px;
}

#navigation .hamburger.open span:nth-child(2) {
  opacity: 0;
}

#navigation .hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -8px;
}

#navigation ul.menu-left {
  position: absolute;
  margin-right: 0;
  display: block;
  width: 100%;
  background-color: #F2F2F2;
  left: 0;
  margin-top: 0;
  box-shadow: 0 3px 30px hsla(0, 0%, 0%, .1);
  overflow: hidden;
  transition: all .3s ease-out;
  z-index: 10;
  max-height: 0;
  top: 45px;
}

#navigation ul.menu-left li {
  display: flex;
  position: static;
  transition: color .35s ease;
  list-style: none;
  text-align: right;
  padding: 0 30px;
  justify-self: center;
}

#navigation .menu-left li:hover {
  text-decoration: underline;
  color: white;
}

#navigation .menu-left li a {
  color: #000;
  text-align: center;
  text-decoration: none;
  padding: .5em 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 16px;
  text-transform: capitalize;
}


#navigation ul.menu-left.collapse {
  max-height: 15em;
}

/* artical section */

.category-posts .top-two-posts{
  max-width: none;
  display: flex;
  column-gap: 20px;
  row-gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.category-posts .top-two-posts .top-reads-box.dp-parent {
  max-width: 320px;
}

.category-posts .post-section {
  flex-direction: column;
}

.category-posts .post-thumb {
  max-width: 100%;
  min-height: 150px;
  margin-bottom: 15px;
}

.category-posts .post-thumb img {
  width: 100%;
  height: 100%;
}

.category-posts h1 {
  text-align: center;
}
/* footer section */
/* footer section */
.footer {
  background: #F7F7F7;
  padding: 16px 6px 20px;
  border-top: 1px solid rgba(162, 160, 160, 0.5);
}  
.footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.footer ul li {
  list-style: none;
  text-decoration: none;
  color: #000;
  text-align: center;
  font-style: normal;
  font-weight: 300;
  font-size: 11px;
  line-height: 17px;
}
.footer ul li a {
  color: inherit;
  text-decoration: none;
}
.footer ul li::after {
  content: "|";
  margin: 0 3px;
  color: #000;
  font-size: inherit;
  font-family: inherit;
}
.footer ul li:last-child::after {
  display: none;
}
/* header-footer section end */

/* legel pages common */
.legal-content-container{
  border-radius: 20px;
  background: #fff;
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto 80px;
}
.content-wrapper {
  padding: 20px 20px;
  min-height: 100vh;
}
.page-title {
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  margin: 39px 0 40px 0;
  color: #00A6E3;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.articlebanner{
  max-width: 1200px;
  margin: 0 auto;
}
.blog-image{
  height: 240px;
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}
.blog-image:after {
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.9) 100%);
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  left: 0;
  bottom: 0;
}

.top-header-section {
  position: absolute;
  bottom: 0;
  z-index: 3;
  padding: 0 25px 25px;
}
.top-two-posts figure, .wp-block-image img{
  display: none;
}
.blog-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.lp-post-wrapper {
  column-gap: 40px;
  display: flex;
  padding-top: 40px;
  flex-direction: column;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
}

.top-two-posts {
  color: #6B6B6B;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 168.7%; /* 26.992px */
  width: 100%;
}
.top-two-posts p{
  margin-bottom: 30px;

}
.top-two-posts h1,.top-two-posts h2,.top-two-posts h3{
  font-weight: 700;
  color: #000;
  font-size: 20px;
}
.top-two-posts ul{
  list-style: disc;
  margin: 0 0 30px 25px;
  padding: 0;
}
.top-two-posts ul li{
  
  list-style-type: disc;
}
.tp-article-list{
  flex: 1;
  width: 100%;
}
.tp-article-list h2{
  position: relative;
      display: flex;
      justify-content: left;
      align-items: center;
      width: 100%;
      color: #00A6E3;
      font-size: 40px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
      text-transform: capitalize;
      background: url(images/heading-arrow.png) right center no-repeat;
      background-size: 20px;
}
.tp-article-list h2 div{
  flex: none;
  margin-right: 40px;
}
.tp-article-list h2::after {
  content: "";
    display: flex;
    border: 2.4px solid #E1E1E1;
    width: 100%;
    margin-right: 3px;
}
.featured-post-section {
  display: flex;
  border-bottom: 1px solid #F1F2F4;
  padding: 20px 0;
}

.featured-post-section:first-child {
  padding-top: 0;
}

.featured-post-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.post-section {
  display: flex;
  column-gap: 20px;
}

.post-thumb {
  max-width: 160px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  vertical-align: top;
}
.post-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.post-section .post-content h3 {
  color: #344756;
  
  font-size: 15px;
  font-style: normal;
  font-weight: 900;
  line-height: normal;
  text-transform: capitalize;
  margin: 0 0 5px;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-content {
  width: 100%;
}

.post-content div {
  color: #000;  
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-content div span{
  color: #00A6E3;
}
.page-title {
  color: #FFF;
  font-size: 30px;
  line-height: 30px;
  font-style: normal;
  text-align: left;
  padding: 0;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #FFF;
  font-style: normal;
  font-weight: 500;
   /* 111.111% */
}
.category-posts .page-title {
  text-align: center;  
  margin-bottom: 40px;
  color: #00A6E3;
}
.category-posts .top-header-section{
  position: static;
  padding: 0 20px 0;
}
.blog-breadcrumbs {
  margin: 40px auto 0;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.blog-breadcrumbs .current {
  color: #00A6E3;
}

    /* slider */
    #trending-posts {
      position: relative;
      margin-top: 40px;
      display: flex;
      flex-wrap: wrap;
      column-gap: 16px;
      row-gap: 20px;
    }

    .trending-section {
      margin-top: 80px;
    }

    .trending-post-title {
      color: #344756;
      font-family: "Public Sans";
      font-size: 12px;
      font-style: normal;
      font-weight: 900;
      line-height: normal;
      text-transform: uppercase;
      margin-top: 20px;
    }

    .trending-post-copy {
      color: #344756;
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: normal;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .trending-post-copy figure{
      display: none;
    }

    .trnding-content {
      width: 100%;
      display: flex;
      /* max-width: 200px; */
      padding: 10px;
      border-radius: 20px;
      background: #D8E8F5;
      column-gap: 10px;
      max-width: 227px;
    }

    .trnding-content img {
      width: 96px;
      height: 96px;
      display: flex;
      margin: 0;
      object-fit: cover;
      border-radius: 10px;
      cursor: pointer;
      transition: .25s ease-in-out;
    }

    .trending-content-inner svg,.trending-content-inner img {
      width: 16px;
      height: 16px;
      align-self: end;
      margin-right: 10px;
    }

    .trending-content-inner {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .control-prev-btn {
      position: absolute;
      top: 29%;
      left: 0;
      background-color: transparent;
      height: auto;
      line-height: normal;
      width: 44px;
      text-align: center;
      box-shadow: 0;
      user-select: none;
      color: #444;
      cursor: pointer;
    }

    .control-next-btn {
      position: absolute;
      top: 29%;
      right: 0;
      background-color: transparent;
      height: auto;
      line-height: normal;
      width: 44px;
      text-align: center;
      box-shadow: 0;
      user-select: none;
      color: #444;
      cursor: pointer;
    }

    .control-next-btn img,
    .control-prev-btn img {
      width: 100%;
    }

    .slider {
      display: flex;
      height: auto;
      max-height: none;
      overflow-y: hidden;
      overflow-x: scroll !important;
      padding: 0;
      transform: scroll(calc(var(--i, 0)/var(--n)*-100%));
      scroll-behavior: smooth;
      position: relative;
    }

    .slide {
      position: relative;
      margin: 0;
    }

    .slider::-webkit-scrollbar {
      height: 5px;
      width: 150px;
      display: none;
    }

    .slider::-webkit-scrollbar-track {
      background: transparent;
    }

    .slider::-webkit-scrollbar-thumb {
      background: #888;
    }

    .slider::-webkit-scrollbar-thumb:hover {
      background: #555;
    }

    /* slider end */
    /* .slide ke nth-child ke hisaab se background color */
    .slide:nth-child(8n+1) .trnding-content {
      background-color: #D8E8F5;
    }

    .slide:nth-child(8n+2) .trnding-content {
      background-color: #FFFFFD;
    }

    .slide:nth-child(8n+3) .trnding-content {
      background-color: #C7E5F0;
    }

    .slide:nth-child(8n+4) .trnding-content {
      background-color: #E7F2F4;
    }

    .slide:nth-child(8n+5) .trnding-content {
      background-color: #D8E8F5;
    }

    .slide:nth-child(8n+6) .trnding-content {
      background-color: #FFFFFD;
    }

    .slide:nth-child(8n+7) .trnding-content {
      background-color: #C7E5F0;
    }

    .slide:nth-child(8n+8) .trnding-content {
      background-color: #E7F2F4;
    }


@media screen and (min-width: 921px) {
  a.featured-post-section:hover,a.latest-featured-post:hover,.featured-post-section:hover,a.slide:hover{
    text-decoration: underline;
    color: inherit;
  }
  .blog-image{
    height: 465px;
    border-radius: 40px;
  }
  .top-header-section {
    padding: 0 80px 80px;
  }
  /* header-footer section */
  #navigation .logo {
    width: 283px;
  }

  #navigation .hamburger {
    display: none;
  }

  #navigation ul.menu-left {
    display: flex;
    padding: 0;
    position: static;
    background: transparent;
    box-shadow: none;
    max-height: none;
    justify-content: end;
  }

  #navigation .menu-left li a {
    text-decoration: none;
    padding: 0;
    color: #19202E;
    text-align: center;
    font-family: "Space Grotesk";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
  }

  #navigation a:hover {
    text-decoration: underline;
  }

  #navigation {
    padding: 54px 0;
    position: relative;
  }

  
#navigation .menu-left li:last-child {
  border: 0;
  padding-right: 0;
}
  /* footer section */
  .footer {    
    padding: 29px 84px;
  }
  .footer ul li {    
    font-size: 16px;
    line-height: 22px;
  }
  .footer ul li:hover {
    text-decoration: underline;
  }
  /* header-footer section ends */

  /* legal pages common */
  .category-posts{
    margin-bottom: 40px;
  }
  .content-wrapper {
    padding: 0 20px 80px;
  }    
  .page-title {
    font-size: 72px;
    line-height: 80px;
    margin: 0;
  }   
  .category-posts  .page-title{
    padding-top: 0;
    
  }
  .category-posts .lp-post-wrapper{
    padding-top: 0;
  }
  .tp-article-list h2{
    justify-content: left;
    background-size: 32px;
    font-size: 48px;
  }
}

@media screen and (max-width:768px) {
  .slider {
    flex-direction: column;
  }

  .slide {
    display: flex;
    margin-bottom: 0;
    border-bottom: 0;
    padding: 0;
    max-width: 48%;
    width: 100%;
  }
  .trnding-content{
    max-width: none;
  }

  .slide:last-child {
    border: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  #trending-posts {
    margin-top: 32px;
    row-gap: 10px;
  }
  .tp-article-list h2::after {
    border: 1.6px solid #E1E1E1;
    margin-right: 5px;
  }
  .category-posts .content-wrapper, .category-posts .lp-post-wrapper{
    padding-top: 0;
  }
  .category-posts .page-title{
    margin-top: 40px;
  }
}
@media screen and (max-width: 640px){
  .slide{
    width: 100%;
    max-width: 100%;
  }
  .tp-article-list h2 div{
    margin-right: 20px;
  }
}