/* astra pro replacement */

body.archive .ast-row, body.category .ast-row, body.tag .ast-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 auto;
}

body.archive .ast-grid-common-col, body.category .ast-grid-common-col, body.tag .ast-grid-common-col {
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px;
}

body.archive .ast-article-post .post-thumb, body.category .ast-article-post .post-thumb, body.tag .ast-article-post .post-thumb {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
    object-fit: cover;
}

body.archive .ast-article-inner, body.category .ast-article-inner, body.tag .ast-article-inner {
    padding: 0;
}

body.archive .blog-layout-1, body.category .blog-layout-1, body.tag .blog-layout-1 {
    padding-bottom: 0;
}

body.archive .ast-blog-layout-4-grid .ast-article-post, 
body.category .ast-blog-layout-4-grid .ast-article-post, 
body.tag .ast-blog-layout-4-grid .ast-article-post {
    margin-bottom: 1em;
}

body.archive .ast-grid-common-col, body.category .ast-grid-common-col {
	    padding: 2px;
}

body.archive .ast-blog-layout-4-grid .ast-article-post, body.category .ast-blog-layout-4-grid .ast-article-post {
	margin-bottom: 0em;
}

@media (max-width: 1024px) {
    body.archive .ast-row, body.category .ast-row, body.tag .ast-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    body.archive .ast-row, body.category .ast-row, body.tag .ast-row {
        grid-template-columns: 1fr !important;
    }
}

/* padding title */

@media screen and (min-width: 576px) {
body.archive .ast-archive-description {
    padding-top: 50px;
}
}

@media screen and (max-width: 575px) {
    body.archive .ast-archive-description {
        padding-top: 0;
    }
}

/* rest */

#page {
    margin-bottom: 100px;
}

.entry-title a {
    transition: all 0.2s ease-in-out !important;
}

.no-term-description .ast-archive-description {
    padding-bottom: 10px !important;
}

.ast-archive-description {
    border: none;
}

.archive-post-count {
    text-align: center !important;
    font-size: 1em !important;
    margin-top: -25px !important;
    margin-bottom: 15px !important;
}

.ast-archive-description {
    margin-bottom: 0em;
}

.ast-archive-description .ast-archive-title {
    text-align: center;
}

.ast-archive-description p {
	 margin-left: 20%;
   margin-right: 20%;
   font-size: 1.175rem;
   text-align: justify;
}

.ast-taxonomy-container + .ast-reading-time {
    display: block;
    margin-top: 5px;
}

span.cat-links a {
	border-bottom: 2px solid;
}

.entry-meta .cat-links a:hover, .entry-meta .tags-links a:hover {
	  border-bottom: 2px solid #fff;
	transition: all .2s linear;	
}

@media (max-width: 921px) {
.ast-archive-description p {
	 margin-left: 0%;
   margin-right: 0%;
}
}

@media (prefers-color-scheme: dark) {
	.entry-meta .cat-links, .entry-meta .tags-links {
		background: black;
	}
		.entry-meta .cat-links a:hover {
		border-bottom: 2px solid #000;
	}
}

.ast-pagination .prev.page-numbers, .ast-pagination .next.page-numbers {
	display: none;
}

.ast-pagination-default .ast-pagination .page-numbers.current {
	border-radius: 0px;
}

.page-numbers.current {
   color: white;
	background: black;
}

.ast-pagination .page-numbers {
	border: 2px solid black;
}

.ast-pagination .page-numbers:hover {
	background: black;
	color: white;
    transition: all 0.2s linear;
}

@media (prefers-color-scheme: dark) {
	.page-numbers.current {
   color: black !important;
	background: white;
}

.ast-pagination .page-numbers {
	color: white;
	border: 2px solid white;
}
	.ast-pagination .page-numbers:hover {
	background: white;
	color: black;
    transition: all 0.2s linear;
}
}

@media screen and (max-width: 960px) {
  .archive-post-count {
    margin-top: -5px !important;
  }
}

.ast-blog-layout-4-grid .ast-article-inner {
    box-shadow: none;
}

.ast-article-post {
    margin-bottom: 0em;
}

.blog-layout-1 {
    padding-bottom: 1em;
}

.entry-header {
    margin-bottom: 0em;
    text-align: left;
}

.ast-blog-featured-section {
    margin-bottom: 15px;
}

@media (max-width: 767px) { body.archive .ast-archive-description .ast-archive-title { font-size: 1.9rem; } }

/* Displays related categories, tags, and artists on taxonomy pages */

    .taxonomy-relationships {
        max-width: 1600px;
        margin-bottom: 50px;
        text-align: center;
    }
    .relationship-section {
        margin-bottom: .5em;
    }
    .relationship-label {
        font-weight: 500;
        margin-right: .5em;
	  }
    .relationship-link {
        color: inherit;
	  font-weight: 300;
        text-decoration: none;
        margin: 0;
        white-space: nowrap;
        display: inline-block;
    }
    .relationship-link:hover {
        text-decoration: underline;
    }
	  .relationship-link:not(:last-child)::after {
    content: ",";
    margin: 0 .3em 0 0;
}
	      @media screen and (max-width: 921px) {
        .taxonomy-relationships {
            text-align: left;
        }
    }