@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: flex;
    margin: 2px auto 2px auto;
    width: clamp(300px,70vw,520px);
    justify-content:space-between;
    gap:15px;
  }
  .left-image-item img{
    width: 49%;
    height: 100%;
    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: #a93637; */
    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: 1015px) {
  .group{
    max-width: 1600px;
    display: block;
    margin:15px auto 0 auto;
    font-size:16px;
    /* position: relative; */
  }
  div.container {
  display: block;
  max-width: clamp(510px, 50vw, 800px);
  overflow-x: hidden;
  padding: 0 20px 10px 0;
  margin-bottom: 15px;
  border-bottom: 0.2px solid rgba(126, 123, 123, 0.747);
}


  .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: 50%;
    height: clamp(200px , 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: 58%;
    max-height: 100%;
    float:right;
    clear: both;
    padding:0px 0 0 7px;
    margin: 0;
  }
  .paragraph{
    -webkit-line-clamp: 3;
  }
  .left-image-item{
    width: clamp(300px,42.6vw,720px);
    height:clamp(300px,60vh,780px);
    background-color: rgb(237, 245, 252);
    /* background-color: transparent; */
    display: flex;
    flex-direction: row;
    border-radius: 7px;
    margin: auto 20px 15px auto;
    float: right;
    clear: both;
    gap:10px;
    object-fit: contain;
    justify-content: center;
  }
  .left-image-item img{
    object-fit: contain ;
    /* border-radius: 7px; */
    display: block;
    float: right;
    max-width:100%;
    height: 100%;
  }
  .page-count {
    font-size: 16px;
    margin: 0 4px;
  }
  .pagination-button {
    font-size: 16px;
  }
}