*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    background: radial-gradient(circle at center, #2c5364, #0f2027);}


.container{
    max-width: 425px;
    margin: auto;
    background-color: white;
    min-height: 100vh;
}

.br-green{
border: 1px solid #D7F5E4;
background-color: #D7F5E4;
}
.br-red{
border: 1px solid #FFEDED;
background-color: #FFEDED;
}
.br-blue{
border: 1px solid #E3EEFF;
background-color: #E3EEFF;
}
.br-purple{
border: 1px solid #F4E5FF;
background-color: #F4E5FF;
}
.br-orange{
border: 1px solid #FFE9D5;
background-color: #FFE9D5;
}
.br-pink{
border: 1px solid #FFE6F2;
background-color: #FFE6F2;
}


.w-30{
    width: 30%;
}
.w-48{
    width: 48%;
}

.fs10{
    font-size: 10px;
}
.fs14{
    font-size: 14px;
}
.fs22{
    font-size: 22px;
}

.ls3{
    letter-spacing: 3px;
}

.cust-bg-orange{
    background-color: rgba(255, 135, 31, 0.1);
}
.cust-bg-blue{
    background-color: rgba(61, 139, 255, 0.1);
}
.cust-bg-green{
    background-color: rgba(31, 163, 90, 0.1);
}


.cust-border{
    border: 1px solid #F3F3F3;
}
.dashed-cust-border{
    border: 1px dashed rgba(64, 64, 64, 0.1);
}


a{
  text-decoration: none;
}
.row{
width: 100% !important;
margin-left: 0  !important;
margin-right: 0  !important;
padding: 0 !important;
}
.w-fit{
  width: fit-content;
}

.w-60{
  width: 37%;
}
.w-58{
width: 36%;
}
.w-40{
width: 40%;
}
.fs10{
  font-size: 10px;
  margin-top: 10px;
}
.fs14{
font-size: 12px;

}
.fs37{
  font-size: 37px;
}
.fs38{
  font-size: 38px;
}
.fs30{
  font-size: 30px;
}

.lh-0{
line-height: 1;
}



.gradient-bg-btn{
background-color: #FF8921;
border: 2px solid #FF8921 !important;
border-radius: 8px !important;
color: #ffffff !important;

}


.gradient-border{
border-radius: 12px !important;
background: linear-gradient(white, white) padding-box, 
linear-gradient(90deg, #A417C6 0%, #16267D 100%) border-box;
border: 1px solid transparent;
}

.gap-y-3{
  gap: 15px 0;
}

.input{
  border: 1px solid #CACACA;
  border-radius: 10px;
  display: block;
  width: 100%;
  padding: 8px;
  margin-top: 6px;
}

.input:focus{
  border: 1px solid #CACACA;
  outline:none ;
}

/* swithch toggle  */
.switch-wrapper {
  position: absolute;
  display: inline-flex;
  /* padding: 4px; */
  border: 1px solid #FF8921;
  margin-bottom: 40px;
  border-radius: 30px;
  background: #FF8921;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 100%);

  top: 4px;
  right: 4px;
}

.switch-wrapper [type="radio"] {
  position: absolute;
  left: -9999px;
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"],
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"] {
  color: rgb(255, 255, 255);
}

.switch-wrapper [type="radio"]:checked#monthly ~ label[for="monthly"]:hover,
.switch-wrapper [type="radio"]:checked#yearly ~ label[for="yearly"]:hover {
  background: #FF8921;
 
}

.switch-wrapper
  [type="radio"]:checked#monthly
  + label[for="yearly"]
  ~ .highlighter {
  transform: none;
}

.switch-wrapper
  [type="radio"]:checked#yearly
  + label[for="monthly"]
  ~ .highlighter {
  transform: translateX(100%);
}

.switch-wrapper label {
  font-size: 12px;
  z-index: 1;
  min-width: 59px;
  line-height: 32px;
  cursor: pointer;
  border-radius: 25px;
  transition: color 0.25s ease-in-out;
  color: #FF8921;
  font-weight: 600;
}


.switch-wrapper .highlighter {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 30px;
  background: #FF8921;
  transition: transform 0.25s ease-in-out;
}

#results span{
  font-size: 14px;
}


    .top-stories {
      overflow-x: auto;
    }

     .cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }

  .card {
    flex: 0 0 70%; /* Show 2.5 cards roughly */
    max-width: 180px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    height: 210px;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
  }

  .card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
  }

  .card-content {
    padding: 5px;
    flex-grow: 1;
  }

  .card-content a {
    font-size: 11px;
    font-weight: 500;
    color: #1a0dab;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3em;
    margin-bottom: 4px;
  }

  .card-subtext {
    font-size: 8px;
    color: #888;
    line-height: 1.2em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-footer {
    padding: 8px 10px;
    font-size: 11px;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid #e0e0e0;
  }

  .card-footer img {
    width: 14px;
    height: 14px;
    border-radius: 50%;
  }

  /* Hide scrollbars on mobile (optional) */
  .cards::-webkit-scrollbar {
    display: none;
  }
  .cards {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
    .card-updated {
    font-size: 11px;
    color: #999;
   margin: 0;
  }
.btn-counter-container{
  margin: 7px 0;
  width: 100%;
  display: none;
  justify-content: center;
  position: relative;
  z-index: 5;
}
