/* 
Theme Name: NeatWP Blog
Theme URI: https://hellonitish.com/ 
Author: Nitish
Author URI: https://hellonitish.com/ 
Description: A minimal and performant theme for blogs.
Version: 1.0.0                       
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: neatwp-blog-theme        
Tags: blog, minimal, clean, responsive, fast, SEO-friendly, lightweight
Requires at least: 5.0
Requires PHP: 7.4
*/

.page-numbers.dots {
  padding: calc(2*var(--n-base-padding)) calc(4*var(--n-base-padding));
  display: inline-block;
}

blockquote {
  font-style: italic;
  border-left: 2px solid #ccc;
  padding-left: 1rem;
}

main a {
  text-decoration: underline;
}

main a code {
  display: inline;
}

pre {
  overflow-x: scroll;
}

.post-content {
  margin: 2rem 0;
}

iframe {
  max-width: 100%;
}

.aligncenter {
  margin: 0.5rem auto;
  display: block;
}

.alignleft {
  float: left;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

img, figure {
  max-width: 100%;
}

figure figcaption {
  font-size: 80%;
}

ul, ol {
  margin: 0;
}

dt {
  font-weight: bold;
  margin-top: 1rem;
}

.post-pagination {
  clear: both;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
}

.comment-metadata {
  display: flex;
  flex-direction: column;
  font-size: 80%;
}

.comment-author.vcard {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.comment-author img.avatar {
  border-radius: 8px;
}

.comment-list {
  list-style: none;
  padding-left: 0;
}

.comment {
  margin-top: 2rem;
}

.reply {
  margin-top: -0.5rem;
}

main {
  word-wrap: break-word;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery-columns-4 .gallery-item {
  width: 25%;
  padding: 1%;
  text-align: center;
}

.ntu-wrapper {
  max-width: 1200px;
  margin: 1rem auto;
}


#search-field {
  margin: 0;
}

.article-item-wrapper .post-title a {
  font-size: 1.2rem;
  text-decoration: none;
}

.article-item-wrapper picture img {
  display: block;
}

@media (min-width: 768px) {
  nav.ntu-nav .ntu-navlink-grp {
    flex: min-content;
  }
}

.edit-logout a {
  width: fit-content;
  margin-left: auto;
}

.ntu-nav {
  gap: 1rem;
}

.ntu-nav ul {
  font-size: 1rem;
  flex-wrap: wrap;
  gap: 0 1rem;
}

.ntu-nav ul li {
  margin: 0;
  padding: 0.25rem 0;
}

.menu-item-has-children ul {
  display: none;
}

.menu-item-has-children::after {
  content: '↓';
  font-size: 1.3rem;
  line-height: 0;
  color: var(--n-brand-primary-color);
}

.menu-item-has-children {
  position: relative;
}

ul.sub-menu {
  width: max-content;
  position: absolute;
  background: white;
  padding: 0.5rem 1rem;
  box-shadow: 0 0 2px #ccc;
  border-radius: 4px;
  max-width: 200px;
  font-size: 0.9rem;
}

ul.sub-menu li {
  border-bottom: 1px solid #ddd;
}

ul.sub-menu li:last-child {
  border: none;
}

.menu-item-has-children:hover > ul {
  display: block;
}

ul.sub-menu ul.sub-menu {
  position: absolute;
  left: 100%;
  top: 0;
}

.featured-image.wp-post-image {
  max-width: 100%;
  height: auto;
}

pre.wp-block-code {
  padding: 0;
  overflow-x: auto;
}

.single-post.devotional {
    text-align: center;
}

.single-post.devotional p {
    font-size: 1.2rem;
    line-height: 2;
    font-weight: bold;
}

.single-post.devotional img.featured-image {
    border-radius: 20px;
    max-width: 90%;
}

.single-post.devotional p:nth-child(2n) {
    color: var(--ntu-brand-primary-color);
}

.post-meta .fa-solid {
  font-size: 90%;
  position: relative;
  top: -0.05rem;
  margin-right: 0.1rem;
}

.archive-post-cat {
  width: fit-content;
}

.article-item-wrapper p a {
  color: white;
  text-decoration: none;
}

.article-item-wrapper p {
  margin: 0.5rem 0;
}