.slider{
    background-color: #24262a;
    width: 100%;
    padding-top: 5rem;
	padding-bottom: 2rem;
}
.slider img{
    width: 100%;
    max-width: 1080px;
    border-radius: 15px;
    padding:0 5px;
}
.blank-space{height: 20px;}
.blank-space2{height: 80px;background: #24262a;}
.clear {clear: both;}

.text-container p{
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Noto Sans Malayalam', sans-serif;
}

.text-container a{
    text-decoration: none;
}

.img-fluid{
    border-radius: 10px;
    filter: grayscale(50%);
}

.search-form {
    display: flex;
    align-items: center;
    max-width: 400px;
    margin: 0 auto 15px auto;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 0px 5px;
    background: #fff;
}

.search-field {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 15px 0 0 15px;
}

.search-submit {
    background: #24262a; /* WP blue */
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 0 15px 15px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #005177;
}

/* Pagination Container */
.pagination {
    display: flex;
    flex-wrap: wrap;       /* allow wrapping on small screens */
    justify-content: center;
    gap: 8px;
    margin: 30px 0;
    font-family: Arial, sans-serif;
}

/* Pagination Links */
.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

/* Hover Effect */
.pagination a:hover {
    background: #0073aa;   /* WP blue */
    color: #fff;
    border-color: #0073aa;
}

/* Active Page */
.pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
    font-weight: bold;
}

.search-result{
    margin: 10px;
}
.search-result a{
    font-family: 'Noto Sans Malayalam', sans-serif;
    color: blue;
}
.search-result p{
    font-family: 'Noto Sans Malayalam', sans-serif;
}

.p-small a{
    text-decoration: none;
    margin: 0;
    padding: 0;
}

/* Comments Section */
.comments-area {
  margin-top: 3rem;
  padding: 2rem;
  background: #fdfdfd;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.comments-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 2px solid #eee;
  padding-bottom: .5rem;
}

/* Comment List */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list .comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.comment-list .comment:last-child {
  border-bottom: none;
}

/* Avatar */
.comment-list .avatar {
  border-radius: 50%;
  width: 64px;
  height: 64px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Comment Meta */
.comment-meta {
  font-size: 0.85rem;
  color: #777;
  margin: 0.5rem;
}

.comment-author .fn {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  padding: 5px;
}

/* Comment Content */
.comment-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 0.5rem;
}

/* Reply Button */
.comment-reply-link {
  font-size: 0.85rem;
  color: #0073aa;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border: 1px solid #0073aa;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.comment-reply-link:hover {
  background: #0073aa;
  color: #fff;
}

/* Comment Form */
.comment-respond {
  margin-top: 3rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
}

.comment-respond h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: .75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #0073aa;
  outline: none;
}

/* Submit Button */
.button-submit {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button-submit:hover {
  background: #005177;
}

.comments h3{
    background-color: black;
    color: yellow;
    text-align: center;
    font-size: 20px;
}




/* Responsive: Smaller buttons on mobile */
@media (max-width: 600px) {
    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 32px;
    }
}
