/*
Theme Name:  Asona Child
Theme URI:   https://demo.apalodi.com/asona/
Template:    asona
Version:     1.0

Author:      APALODI
Author URI:  http://apalodi.com

Description: Creative Minimal Blog and Magazine WordPress Theme.
Tags:        blog, news, theme-options, custom-colors, editor-style, featured-images, custom-menu, translation-ready, grid-layout
Text Domain: asona-child

License:     Themeforest Licence
License URI: https://themeforest.net/licenses

*/

/* =Theme customization starts here
-------------------------------------------------------------- */

.wp-caption.alignnone, .wp-caption.aligncenter,
.wp-caption.aligncenter figcaption {
	display: block !important;
	max-inline-size: 100% !important;
	padding:2px!important;
}
.gallery-caption, .wp-caption-text, figcaption {
text-align: center !important;
}
.featured-sections__tab[aria-selected=true] {
    color: #000000;
}
.article-main.section {
margin-top: 0px;
min-width: 300px;
}
.article-header.section {
margin-bottom: 30px;
}
.article-content p{
	text-align: justify;
}
.article-content img {
    border-radius: var(--asona--radius--m);
	margin-block-start: 0px !important;
}
.article-content h2, .article-content h3, .article-content h4, .article-content h5, .article-content h6 {
	margin-top: 5px;
}

.content-ads {
	display:block;
	width:100%;
	height:100px;
}

@media (min-width: 64em) {
	.has-content-sidebar .article-main>:where(:not(.article-content)),
    .has-content-sidebar .article-main .article-content > *:where(:not(blockquote):not(.wp-block-pullquote)) {
        max-inline-size: 100%;
    }
}
.article-header__content {
	max-inline-size: 100%!important;

}
.article-content a {
	    border-block-end: 2px solid var(--asona--color--border-dim);
    color: #f5b74e;
    font-weight: 600;
    transition: color .2s, background-color .2s, border-color .2s;
}
.article-content a:hover {
	background-color: var(--asona--color--link--base--hover);
    color: #f5b74e;
}
blockquote {
	font-weight:400!important;
	line-height: var(--asona--line-height--h6)!important;
	font-size: var(--asona--font-size--h6)!important;
}
.alignnone {
	margin-left: auto;
    margin-right: auto;
}
.responsive_header_unit { min-width: 150px; }
.article-content {
    grid-column: start / end;
    grid-row: 1 / 2;
    min-width: 300px;
}

.post-card[data-layout=highlight] .post-card__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
	padding-block-end: 0;
    padding-block-start: 0;
}
.post-card__excerpt {
    -webkit-box-orient: vertical;
    display: -webkit-box;
    font-size: var(--asona--font-size--base-small);
    -webkit-line-clamp: 5;
    line-height: var(--asona--line-height--base-small);
    max-height: calc(var(--asona--font-size--base-small)* var(--asona--line-height--base-small)* 5);
    overflow: hidden;
    text-overflow: ellipsis;
}
.author-box__description { 
margin-bottom:10px;
}
.author_social {
margin-top:10px;	
}
.author_social a{
	margin-left: 10px;
}
.post-card {
  transform: translate3d(0, 0, 0);
  transition: transform 0.4s ease; /* optional for smooth movement */
}
.adsbygoogle {
  display: block;
  width: 100%;
  min-height: 100px; /* or height: auto */
}
.adslot_1 {
    display: block;
    min-height: 250px;
    width: 100%;
    max-width: 808px;
    margin: auto;
}
.aad-responsive-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
}

.aad-responsive-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.article-main figure {
  justify-self: center; /* Aligns figure in its grid cell */
  text-align: center;   /* Centers image and caption inside the figure */
  display: block;
}

.article-main figure img {
  display: inline-block; /* Ensures image respects text alignment */
  max-width: 100%;       /* Prevents overflow */
  height: auto;
}
