/*
 Theme Name:   John Lilley Theme
 Theme URI:    https://johnklilley.com/
 Description:  A custom theme build on GeneratePress Foundation
 Author:       Sikander Jafar
 Author URI:   https://sikanderjafar.com
 Template:     generatepress
 Version:      1.0.0
*/



/* To Provide Shadow under Header/Menu */

.main-navigation:not(.slideout-navigation),
.sticky-enabled .main-navigation.is_stuck {
    box-shadow: 0 3px 12px 1px rgba(0,0,0,0.05) !important;
    position: relative;
}


/* Blog Page Text Width 700 */
@media (min-width: 1025px) {
  body.single-post .inside-article {
    max-width: 700px;
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 1024px) {
  body.single-post .inside-article {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}



/* To remove underline  */
.nounderline a {
    text-decoration: none;
}





/* Round Corner on drop down menu  */
.main-navigation .main-nav ul ul {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden;
}




/* For Popular Posts lists list) */
.popular-posts-list {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

.popular-posts-list li {
  margin-bottom: 5px;
}

.popular-posts-list a {
  text-decoration: none;
  color: #333;
}

.popular-posts-list a:hover {
  text-decoration: underline;
}





/* Comment Section Settings */

/* Add padding and margin around the entire comments section (form and list) */
.comments-area {
    margin: 3rem 0;
    padding: 2rem;
}

/* Ensure space between the comments list and the comment form */
.comment-list {
    margin-bottom: 2rem;
}
.comment-respond {
    margin-top: 2rem;
}

/* Space out each field (and the comment textarea) for readability */
.comment-form p {
    margin-bottom: 1.5rem;
}

/* Style text inputs and textarea for a modern look */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f7f8f9;
    font-size: 1rem;
    color: #333;
    box-sizing: border-box;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    background-color: #fff;
    border-color: var(--accent, #1e73be);
    outline: none;
}

/* Style the "Post Comment" button for prominence */
.comment-form .form-submit input[type="submit"],
.comment-form button {
    background-color: var(--accent, #1e73be);
    color: #fff;
    padding: 0.75rem 1.5rem;
		margin: 12px left;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}


/* Responsive tweaks to ensure fields stay full-width on smaller screens */
@media (max-width: 600px) {
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form input[type="url"],
    .comment-form textarea {
        width: 100%;
    }
}

