body {
    font-family: sans-serif;
    font-size: 16px;
    font-size: 100%;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.site-container {
    margin: 0.3rem;
    max-width: calc(100% - 3px);
}
.article-container {
    display: grid;
    grid-template-columns: repeat(autofill, minmax(165px,1fr));
    gap: 2rem;
    border-bottom: 1px solid #000;
}
.article-img {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.article-img img {
    max-width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
}
.article-card {
    background-color: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

.article-content {
    padding: 0.5rem;
}
.article-content a {
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: #f17908;
}
.article-content h1 {
    margin: 1rem 0;
    color: #22447b;
}
.article-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5rem;
    font-family: sans-serif;
}
.buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3px;
}

button {
    background-color: #515fe0;
    color: #fff;
    padding: 0.5rem;
    border-radius: 5px;
    outline: none;
    font-family: sans-serif;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-top: 5px;
}
button:hover {
    transform: scale(1.02);
}
#tamil {
    display: none;
    max-width: calc(100% - 3px);
}
#eng {
    display: none;
}

#cmt {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.related-topics {
    padding: 0.5rem;
}
.related-topics h2 {
    font-size: 1.2rem;
    font-family: sans-serif;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: #6772d4;
}

ul li {
    margin: 0.3rem;
}


#bck {
    color: rgb(14, 4, 156);
}

.back-home {
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    flex-direction: row;
    margin-top: 5px;
}

.link-hi {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex: 1;
}

#social {
    margin: 0;
    padding: 0.5rem;
    font-size: 1.2rem;
    text-decoration: underline;
    color: #112;
}

.link-hello {
    display: inline-block;
}

.link-hello a i {
    cursor: pointer;
    display: block;
}




footer {
    padding: 0.5rem 0;
    
  }

  footer .last {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  footer .last h3 {
    color: #132142;
    font-size: 1.3re;
  }
  footer .last .last_link {
    padding: 1rem;
  
  }
  footer .last .last_link a {
    padding: 0.6rem;
    color: #fff;
    border: none;
    outline: none;
    padding: 0.3rem;
    background-image: linear-gradient(to right, rgba(255,0,0,1),rgb(245, 114, 114));
    border-radius: 5px;
    font-weight: 400;
    font-family: sans-serif;
    font-size: 1rem;
  }