/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.15
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Newsletter TNP*/
.tnp-subscription {
  margin: 0 !important;
}

/* End-of-article newsletter form (guests only) — blue box styles kept for possible revert
.ac-post-mail {
	clear: both;
	margin: 2em 0 1.5em;
	padding: 1.25em 1.25em 1.35em;
	border: 1px solid #d0ddf5;
	border-radius: 8px;
	background: #eef3fb;
	box-sizing: border-box;
}

.ac-post-mail-title {
	margin: 0 0 0.75em;
	font-size: 1.1em;
	font-weight: 600;
	color: #1e1e1e;
}

.ac-post-mail-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: stretch;
	margin: 0;
}

.ac-post-mail-input {
	flex: 1 1 14em;
	min-width: 0;
	margin: 0;
	padding: 0.55em 0.75em;
	border: 1px solid #c5d0e0;
	border-radius: 4px;
	font-size: 1em;
	line-height: 1.4;
	box-sizing: border-box;
}

.ac-post-mail-input:focus {
	outline: none;
	border-color: #002276;
	box-shadow: 0 0 0 1px #002276;
}

.ac-post-mail-submit.button {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0.55em 1.25em;
	border-radius: 4px;
	font-size: 1em;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}
*/

/* End-of-article subscribe button (plain layout, no blue box) */
.ac-post-mail-submit.button {
	margin-top: 0.75em;
	padding: 0.35em 0.9em;
	font-size: 0.9em;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
}

.tnp-field input[type="submit"] {
  position: inherit;
  margin-top: 10px;
}

.tnp-comments {
  float: right;
}

/* Newsletters */

.newsletters-management .newsletters-fieldholder-visible, .entry-content .newsletters-fieldholder-visible, .entry .newsletters-fieldholder-visible, .newsletters_button {
  margin: 10px 0px;
}

.newsletters .ui-button {
  margin-top: 10px !important;
}

/* Astra Start */

th {
    text-align: left;
}

a {
  text-decoration: none !important;
}

.ast-author-avatar {
  display: none !important;
}


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

.ast-above-header-bar {
  border-bottom-style: none !important;
}

.post, .comments-area, .page, .ast-archive-description, .error-404 {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/*.home figure, .archive figure {
    display: none;
}*/

.ast-excerpt-container {
  margin-bottom: 10px;
}

#ast-scroll-top {
background-color: #002276;
}

#recent-posts-3, #recent-comments-2 {
	background: var(--ast-title-layout-bg);
	padding: 10px;
	border: 1px solid lightgray;
}

.entry-title, .entry-meta {
	text-align: center;
}

/* Keep meta line clickable; block select-text drag on it */
.entry-meta,
.entry-meta * {
	-webkit-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}

.entry-meta a,
.entry-meta a * {
	cursor: pointer !important;
	pointer-events: auto;
}

/* Circular AI badge next to IT News / IT Experts author names (fixed size: same on single + archive) */
.entry-meta .ac-ai-author-badge,
.ac-ai-author-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 14px;
	height: 14px;
	margin-left: 4px;
	vertical-align: middle;
	border-radius: 50%;
	/* Match meta line text/link color; keep letters white */
	color: inherit;
	background-color: currentColor !important;
	-webkit-text-fill-color: #fff;
	font-size: 9px !important;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.01em;
	text-decoration: none !important;
	cursor: pointer !important;
	pointer-events: auto;
	-webkit-user-select: none;
	user-select: none;
}

.entry-meta a:hover .ac-ai-author-badge,
.entry-meta a:focus .ac-ai-author-badge,
.ac-ai-author-badge:hover,
.ac-ai-author-badge:focus {
	color: inherit;
	background-color: currentColor !important;
	-webkit-text-fill-color: #fff;
}

/* Pinned post banner (visible to all visitors) */
.ac-pinned-banner {
	width: 100%;
	box-sizing: border-box;
	padding: 0.4em 1em;
	margin: 0 0 0.85em;
	text-align: center;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1e3a5f;
	background: linear-gradient(90deg, #dbeafe 0%, #bfdbfe 50%, #dbeafe 100%);
	border-top: 2px solid #367bb7;
	border-bottom: 2px solid #367bb7;
}

.ac-post-is-pinned {
	position: relative;
}

.btn-primary, .menu-toggle, button, .ast-button, .ast-custom-button, .button, input#submit, input[type="button"], input[type="submit"], input[type="reset"], #comments .submit, .search .search-submit, form[CLASS*="wp-block-search__"].wp-block-search .wp-block-search__inside-wrapper .wp-block-search__button, body .wp-block-file .wp-block-file__button, .search .search-submit {
	margin-top: 0px;
    box-shadow: none !important;
}

.btn-primary,
.button,
input[type="submit"],
input[type="button"],
.ast-button,
.ast-custom-button,
#comments .submit,
.search .search-submit,
.wp-block-search__button,
.wp-block-file__button,
.tnp-submit:not(.tnp-personal-delete):not(.tnp-personal-status-btn),
.mpi-submit {
	background-color: #002276 !important;
	border-color: #002276 !important;
	color: #fff !important;
	cursor: pointer !important;
}

.btn-primary:hover,
.btn-primary:focus,
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus,
.ast-button:hover,
.ast-button:focus,
.ast-custom-button:hover,
.ast-custom-button:focus,
#comments .submit:hover,
#comments .submit:focus,
.search .search-submit:hover,
.search .search-submit:focus,
.wp-block-search__button:hover,
.wp-block-search__button:focus,
.wp-block-file__button:hover,
.wp-block-file__button:focus,
.tnp-submit:not(.tnp-personal-delete):not(.tnp-personal-status-btn):hover,
.tnp-submit:not(.tnp-personal-delete):not(.tnp-personal-status-btn):focus,
.mpi-submit:hover,
.mpi-submit:focus {
	background-color: #001a5c !important;
	border-color: #001a5c !important;
	color: #fff !important;
}

.ast-search-menu-icon.slide-search input.search-field {
	width: 100%;
}

#masthead .main-header-menu > li.menu-item {
    padding: 0 !important;
}

#masthead .main-header-menu li.menu-item::before,
#masthead .main-header-menu .sub-menu li::before {
    content: none !important;
    display: none !important;
}

#masthead .main-header-menu li.menu-item,
#masthead .main-header-menu .sub-menu li {
    padding: 0 !important;
}

#masthead .main-header-menu {
    justify-content: center;
    width: 100%;
}

#masthead .main-header-menu > .menu-item > .menu-link,
#masthead .main-header-menu > .menu-item > .mpi-account-menu-link {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:focus,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .mpi-account-menu-link:hover,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item > .mpi-account-menu-link:focus,
#masthead .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .mpi-account-menu-link {
    background-color: #eef2fb !important;
    color: #002276 !important;
}

#masthead .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item {
    line-height: 1.3;
}

#masthead .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item > .menu-link {
    padding: 0.35rem 0.85rem !important;
    line-height: 1.3 !important;
    min-height: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#masthead .main-header-menu .sub-menu .menu-link:hover,
#masthead .main-header-menu .sub-menu .menu-link:focus,
    #masthead .ast-builder-menu-1 .main-header-menu .sub-menu .menu-item:hover > .menu-link {
    background-color: #eef2fb !important;
    color: #002276 !important;
}

@media screen and (min-width: 922px) {
    #ast-desktop-header .site-primary-header-wrap .ast-builder-grid-row,
    #ast-desktop-header .site-header-primary-section-center,
    #ast-desktop-header .ast-builder-menu-1,
    #ast-desktop-header .ast-builder-menu-1 .main-header-bar-alignment,
    #ast-desktop-header .ast-builder-menu-1 .main-header-bar-navigation,
    #ast-desktop-header .ast-builder-menu-1 .main-navigation,
    #ast-desktop-header .ast-builder-menu-1 .main-navigation .main-header-menu {
        justify-content: center;
    }

    #ast-desktop-header .site-header-primary-section-center {
        flex: 1 1 auto;
        width: 100%;
    }
}

@media screen and (min-width: 922px) {
    /* Search lives in the below-header bar (not primary-header right section). */
    #ast-desktop-header .ast-below-header-bar .site-below-header-wrap,
    #ast-desktop-header .ast-below-header-bar .site-header-below-section-center,
    #ast-desktop-header .ast-below-header-bar .ast-header-search {
        width: 100%;
        justify-content: center;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search .search-form {
        position: static !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 0;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        display: flex !important;
        align-items: center;
        box-sizing: border-box;
        transition: opacity 0.2s ease, max-height 0.2s ease, margin 0.2s ease;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search.ast-dropdown-active .search-form {
        height: auto;
        max-height: 56px;
        margin: 0 0 6px;
        visibility: visible;
        opacity: 1;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search .search-form label {
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search input.search-field {
        box-sizing: border-box;
        flex: 1 1 auto;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        padding: 0.55rem 0.75rem;
        font-size: 1rem;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon.slide-search.ast-dropdown-active input.search-field {
        width: 100% !important;
        max-width: 100% !important;
    }

    #ast-desktop-header .ast-below-header-bar .ast-search-menu-icon .search-submit {
        display: flex;
        flex-shrink: 0;
    }
}

.site-header-section>* {
    padding: 0px !important;
}

.site-header .site-description {
	font-size: 22px;
  text-align: center;
}

@media screen and (max-width: 767px) {
	.site-header .site-description {
	font-size: 16px;
	}
}

/* Astra End */
	

/* ── Blog archive: featured image below date/title (layout 5) ── */

/* Cancel the two-column grid from the parent theme */
.ast-blog-layout-5-grid .blog-layout-5 {
    display: block;
}

/* Make post-content full width (no longer a 75% column) */
.ast-blog-layout-5-grid .blog-layout-5 .post-content {
    width: 100% !important;
    float: none;
    /*padding-left: 0;*/
}

/* Override the 25% width the theme sets dynamically; center the image */
.ast-blog-layout-5-grid .blog-layout-5 .ast-blog-featured-section {
    width: 100% !important;
    margin-top: 1em;
    margin-bottom: 1em;
    text-align: center;
}

/* Hide listing featured image once Read Post expands the article in place (all categories — disabled) */
/*.home article[data-ajax-loading="1"] .ast-blog-featured-section,
.archive article[data-ajax-loading="1"] .ast-blog-featured-section,
.home article[data-ajax-loaded="1"] .ast-blog-featured-section,
.archive article[data-ajax-loaded="1"] .ast-blog-featured-section {
    display: none;
}*/

/* Match Astra single-post content image shadow on archive Read Post AJAX content.
   Parent theme only outputs this for .ast-article-single (is_single()). */
.ac-ajax-content figure,
.ac-ajax-content img:not(figure img) {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 0 30px 0 rgba(0, 0, 0, .15);
}

/* ── Blog archive end */

/*
 * In-content units (.f4s-incontent-wrap): flex gap keeps promo spacing consistent.
 * Fallback creatives: load() sets data-f4s-fallback — restore theme rhythm (1.5em).
 * Never use class names containing "ad"; cosmetic blockers hide them.
 */
.entry-content > div[style*="text-align:center"] + #rtoc-mokuji-wrapper + :is(h1, h2, h3, h4, h5, h6),
.entry-content > div[style*="text-align:center"] + :is(h1, h2, h3, h4, h5, h6),
.entry-content > .f4s-incontent-wrap + #rtoc-mokuji-wrapper + :is(h1, h2, h3, h4, h5, h6),
.entry-content > .f4s-incontent-wrap + :is(h1, h2, h3, h4, h5, h6) {
	margin-top: 0.75em;
}

.entry-content > div[data-f4s-fallback="1"] + #rtoc-mokuji-wrapper + :is(h1, h2, h3, h4, h5, h6),
.entry-content > div[data-f4s-fallback="1"] + :is(h1, h2, h3, h4, h5, h6),
.entry-content > .f4s-incontent-wrap[data-f4s-fallback="1"] + #rtoc-mokuji-wrapper + :is(h1, h2, h3, h4, h5, h6),
.entry-content > .f4s-incontent-wrap[data-f4s-fallback="1"] + :is(h1, h2, h3, h4, h5, h6) {
	margin-top: 1.5em;
}

/* Ensure the image itself doesn't stretch full width when centered */
.ast-blog-layout-5-grid .blog-layout-5 .post-thumb-img-content {
    height: auto;
}

.ast-blog-layout-5-grid .blog-layout-5 .ast-blog-featured-section img,
.ast-blog-layout-5-grid .blog-layout-5 .post-thumb-img-content img {
    width: auto !important;
    max-width: min(100%, 600px) !important;
    max-height: 400px;
    height: auto !important;
    object-fit: unset !important;
    display: inline-block;
}

/* Wide tables: horizontal scroll instead of clipping on narrow screens */
.entry-content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.entry-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Lists  Start */

/* Sources list box — trailing ul only (no content after it; promo/actions may follow).
   .ast-excerpt-container: archive full-content (no more tag / no excerpt).
   Cancel Astra’s default ul { margin-left: 3em } so sources align with body text. */
.entry-content > ul:last-of-type:not(:has(~ :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote))),
.ac-ajax-content > ul:last-of-type:not(:has(~ :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote))),
.ast-excerpt-container > ul:last-of-type:not(:has(~ :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote))) {
    /*background-color: #f5f9fd !important;
    border: 1px solid #c8dfef !important;
    border-left: 3px solid #5a9fd4 !important;
    border-radius: 4px !important;*/
	border-top: 1px solid lightgrey;
    padding: 8px 0 !important;
    margin: 10px 0 !important;
    line-height: normal !important;
}

ul li {
    list-style: none !important;
    padding: 2px 1px 2px 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
    position: relative;
    overflow: visible !important;
}

ul li::before {
    content: "›" !important;
    position: absolute;
    left: 2px;
    top: 3px;
    color: #5a9fd4;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.2;
    display: inline-block !important;
}

ul li a {
    color: #367bb7 !important;
    font-size: 16px;
    text-decoration: none !important;
}

ul li a:hover {
    text-decoration: underline;
    color: #1a5a9a !important;
}

.entry-content ol,
.ac-ajax-content ol,
ol {
    padding-left: 1.5em !important;
    margin-left: 16px !important;
}

ol ol,
ol ul {
    margin-top: 0.25em;
}

ol li {
    padding: 2px 1px 2px 0 !important;
    line-height: 1.5 !important;
    margin-bottom: 4px !important;
    list-style-position: outside;
}

ol li::marker {
    color: #5a9fd4;
    font-weight: bold;
}

/* Youtube */
.ast-oembed-container {
    margin-bottom: 15px;
}

/* Lists  End */

/* ── Login modal (menu Login / Logout item) ── */

body.ac-login-modal-open {
	overflow: hidden;
}

.ac-login-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
}

.ac-login-modal[hidden] {
	display: none !important;
}

.ac-login-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.ac-login-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 400px;
	padding: 2rem 2rem 1.5rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
	border: 1px solid #e0e0e0;
}

.ac-login-modal__close {
	position: absolute;
	top: 0.65rem;
	right: 0.85rem;
	z-index: 1;
	width: 2rem;
	height: 2rem;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 1.75rem;
	line-height: 1;
	color: #666 !important;
	cursor: pointer;
	padding: 0;
}

.ac-login-modal__close:hover,
.ac-login-modal__close:focus {
	color: #015e8d !important;
	background: transparent !important;
	box-shadow: none !important;
}

.ac-login-modal__title {
	margin: 0 0 1.25rem;
	text-align: center;
	font-size: 1.35rem;
	color: #015e8d;
}

.ac-login-modal__field {
	margin: 0 0 1rem;
}

.ac-login-modal__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.9rem;
	color: #444;
}

.ac-login-modal__field input[type="text"],
.ac-login-modal__field input[type="password"] {
	width: 100%;
	box-sizing: border-box;
	padding: 0.55rem 0.65rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
}

.ac-login-modal__remember {
	margin: 0 0 1rem;
	font-size: 0.9rem;
}

.ac-login-modal__remember label {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	cursor: pointer;
}

.ac-login-modal__error {
	margin: 0 0 0.75rem;
	padding: 0.5rem 0.65rem;
	font-size: 0.875rem;
	color: #b91c1c;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 4px;
}

.ac-login-modal__error[hidden] {
	display: none;
}

.ac-login-modal__submit {
	margin: 0 0 0.75rem;
	text-align: center;
}

.ac-login-modal__submit .button-primary {
	background: #002276;
	border-color: #002276;
	padding: 0.5rem 2rem;
	font-size: 1rem;
	cursor: pointer;
}

.ac-login-modal__submit .button-primary:hover {
	background: #001a5c;
	border-color: #001a5c;
}

.ac-login-modal__lost {
	margin: 0;
	text-align: center;
	font-size: 0.875rem;
}

.ac-login-modal__lost a {
	color: #015e8d;
	text-decoration: none;
}

.ac-login-modal__lost a:hover {
	text-decoration: underline;
}

.menu-item-ac-login > a,
.menu-item-ac-logout > a {
	cursor: pointer;
}

/* ── Login modal end ── */