@import url('https://fonts.googleapis.com/css2?family=Anek+Kannada&display=swap');
* {
    margin: 0;
    padding: 0;
  }
  .group{
    max-width: 600px;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
    margin: 0 auto;
  }
  
  .container {
    font-family: 'Anek Kannada';
    margin: 10px;
    display: block;
    max-width: 100vw;
    align-items: center;
    text-align: justify;
    border-bottom: 0.2px solid rgba(126, 123, 123, 0.747);
  }
  .container .title {
    display: none;
  }
  a{
    text-decoration: none !important;
    color: black;
  }
  .article-img img{
    display: block;
    margin: 2px auto 2px auto;
    max-width: 85%;
    height: clamp(200px,25vh,500px);
    border-radius: 5px;
  }
  .left-image-item{
    display: block;
    margin: 2px auto 2px auto;
    width: 60vw;
    height: 40vh;
    border-radius:5px;

  }
  .left-image-item img{
    width: 100%;
    height: 96%;
    object-fit: contain;
    margin: auto;   
    border-radius:5px;
  }
  .mobile-title{
    font-size: larger;
    margin-left: 5px;
    margin-right: 5px;
  } 
  .article-content{
    padding-top: 7px;
    margin-bottom: 5px;
  }
  .paragraph{
    padding-right: 2px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }
  .pagination-box {
    display: flex;
    font-family: 'Anek Kannada';
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
  }

  .page-count {
    font-size: 13px;
    margin: 0;
  }

  .pagination-button {
    font-size: 13px;
    text-decoration: none;
    color: black;
    padding: 5px 10px;
    margin: 0 5px;
    border: 1px solid #595959;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
  }

  .pagination-button:hover {
    background-color: #a93637;
    color: white;
  }

  
  /* Add a media query for screens with a min-width of 600px */
  @media  (min-width: 1020px) {
  .group{
    max-width: 1600px;
    display: block;
    margin:15px auto 0 auto;
    font-size:16px;
  }
  div.container{
    display: block;
    max-width: clamp(604px,65vw,1040px);
    overflow-x: hidden;
    padding: 0 20px 10px 0;
    margin-bottom: 15px;
    border-bottom: 0.2px solid rgba(126, 123, 123, 0.747);
    border-width: 10px 15p 10px ;
  }
  .container .mobile-title{
    display: none;  /* making the title on top disapper on large screen */
  }
  .container .title{
    display: block;
    font-size: larger;
    margin: 0;
    white-space: pre-line;
  }
  .item{
    display: flex;
    margin-bottom: 5px;
    flex-direction: row;
    width: 100%;
    margin-right: 0px ;
    padding: 5px;
  }
  .article-img{
    width: 40%;
    height: clamp(10px , 25vh, 290px);
    background-color: rgb(237, 245, 252);
    max-height: 100%;
    margin-left: 10px;
    border-radius: 5px;
  }
  .article-img img{
    max-width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto 0 auto;
    align-self: center;
  }
  .article-content{ 
    max-width: 62%;
    max-height: 100%;
    float:right;
    clear: both;
    padding:0px 0 0 15px;
    margin: 0px;
  }
  .paragraph{
    -webkit-line-clamp:3;
  }
  .left-image-item{
    width: clamp(300px,29vw,490px);
    /*height:clamp(420px,65vh,780px);*/
    height:auto;
    aspect-ratio:0.779999;
    background-color:  rgb(237, 245, 252);
    overflow-x: hidden;
    /* position: relative; */
    display: block;
    margin: auto 10px 15px auto;
    float: right;
    clear: both;
    object-fit: contain;

  }
  .left-image-item img{
    height: 100%;
    max-width: 100%;
    display: block;
    padding: 0;
    float: right;
    min-width: 97%;
    margin:auto;
    overflow-x: hidden;
    object-fit: contain;
  }
  .page-count {
    font-size: 16px;
    margin: 0 4px;
  }
  .pagination-button {
    font-size: 16px;
  }

}