/**

Theme Name: AgentedNews
Description: AgentedNews is a standalone, fully responsive, highly customizable WordPress news theme for AI-powered editorial workflows.
Author: ThemeinProgress.
Author URI: https://www.themeinprogress.com
Version: 1.0.8
Requires PHP: 5.3
Tested up to: 6.8
Tags: custom-background, custom-header, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, post-formats, right-sidebar, sticky-post, theme-options, threaded-comments, translation-ready, one-column, two-columns, three-columns, four-columns, grid-layout, blog, e-commerce, news
Text Domain: blanco-lite
Domain Path: /languages
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

AgentedNews WordPress Theme, Copyright 2026.
AgentedNews is distributed under the terms of the GNU GPLv3.

*/

body.no-scrolling {
    overflow: auto !important;
}

/* ===============================================
   Typography
   =============================================== */

a,
a:hover,
.title a span,
.post-article a:hover,
.post-article a:active,
.post-article a:focus ,
.sidebar-area a:hover,
.sidebar-area a:active,
.sidebar-area a:focus ,
#footer a:hover,
#footer a:active,
#footer a:focus ,
#footer_widgets a:hover,
#footer_widgets a:active,
#footer_widgets a:focus {
	text-decoration:underline;
}

#wrapper a {
    -moz-transition: outline 0.5s ease;
    -o-transition: outline 0.5s ease;
    -ms-transition: outline 0.5s ease;
    transition: all 0.5s ease;
	outline: dotted 1px transparent !important;
}

#wrapper a:active,
#wrapper a:hover,
#wrapper a:focus {
	outline: none !important;
}

#wrapper img {
	height: auto;
}

#wrapper a:focus,
#wrapper button:hover ,
#wrapper button:active ,
#wrapper button:focus ,
#wrapper input:hover ,
#wrapper input:active ,
#wrapper input:focus ,
#wrapper textarea:hover ,
#wrapper textarea:active ,
#wrapper textarea:focus ,
#sidebar-wrapper a:focus,
#sidebar-wrapper button:hover ,
#sidebar-wrapper button:active ,
#sidebar-wrapper button:focus ,
#sidebar-wrapper input:hover ,
#sidebar-wrapper input:active ,
#sidebar-wrapper input:focus ,
#sidebar-wrapper textarea:hover ,
#sidebar-wrapper textarea:active ,
#sidebar-wrapper textarea:focus {
	outline: none !important;
}

/* ===============================================
   Page wrapper
   =============================================== */

#wrapper {
	position: relative;
	min-height:100%;
	background: #fff;
    margin: auto;
}

#wrapper img,
#wrapper iframe,
#wrapper object,
#wrapper embed {
	max-width: 100%;
}

#wrapper img {
	max-height:100%;
	height:auto;
}

body.overlay-active #wrapper {
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 0) {

	#wrapper {
		width: calc(100% - 30px);
	}

	#menu-wrapper.fixed {
		width: calc(100% - 30px);
		left:15px;
		margin-left:0;
	}

}

@media (min-width: 768px) {

	#wrapper {
		width: 750px;
	}

	#wrapper .container {
		width: 720px;
                padding: 0px 15px 60px
	}

	#menu-wrapper.fixed {
		width:750px;
		margin-left:-375px;
		left:50%;
	}

}

@media (min-width: 992px) {

	#wrapper {
		width: 970px;
	}

	#wrapper .container {
		width: 940px;
                padding: 0px 15px 60px
	}

	#menu-wrapper.fixed {
		width:970px;
		margin-left:-485px;
		left:50%;
	}

}

@media (min-width: 1200px) {

	#wrapper {
		width: 1170px;
	}

	#wrapper .container {
		width: 1140px;
		padding: 0px 15px 25px;
	}

	#menu-wrapper.fixed {
		width:1170px;
		margin-left:-585px;
		left:50%;
	}

}

.masonry-container {
	margin-top:-25px;
}

/* ===============================================
   Header
   =============================================== */

#logo-wrapper {
    background-image: url(assets/images/header/header.jpg);
}

#menu-wrapper {
	border-bottom:solid 1px #f6f6f6;
}

#top_sidebar {
	border-bottom:solid 1px #f6f6f6;
}

#header-wrapper {
	margin-bottom: 0;
}

#header_sidebar {
    margin-top: 30px;
	margin-bottom: 30px;
}

#top_sidebar {
    margin-top: 0;
	margin-bottom: 30px;
}

#top_sidebar + .featured-links-wrapper ,
#header_sidebar + .featured-links-wrapper {
	margin-top:0px;
}

#header-wrapper + #content,
#header-wrapper + .container {
	margin-top:15px;
}

#top_sidebar .post-container {
	border-bottom: solid 1px #f6f6f6;
}

#top_sidebar .post-container:last-of-type {
	border-bottom: none;
}

#top_sidebar .post-container:last-of-type,
#header_sidebar .post-container:last-of-type {
	margin-bottom:25px;
}

#top_sidebar + .masonry-container ,
.featured-links-section + .masonry-container {
	margin-top:0;
}

#top_sidebar .post-article ,
#bottom_sidebar .post-article {
    padding: 30px ;
}

nav.header-menu {
    width: calc(100% - 100px);
}

/* ===============================================
   Header search
   =============================================== */

.header-search {
	margin-left:14px;
	right:0
}

.header-search .search-form {
	height:54px !important;
	background:#fff !important;
	border-bottom:solid 1px #f1f1f1 !important;
	position:absolute;
	visibility: hidden;
	top:0 !important;
	right:-30px !important;
	width:1170px;
	-webkit-transition-property: none;
    transition-property: none;
    -webkit-transition-duration: none;
    transition-duration: none;
}

.header-search .search-form.is-open {
	top:0 !important;
	height:100%;
	visibility: visible;
}

.header-search .search-form a.close-search-form {
	top:50% !important;
	margin-top:-13px !important;
	margin-left:0 !important;
	left:inherit !important;
	right:22px !important;
}

.header-search .search-form i.searchform-close-button {
	font-size:14px !important;
}

.header-search .search-form #header-searchform input[type=text] {
	height:50px !important;
	line-height:50px !important;
	font-size:20px !important;
    left: 0 !important;
    width: calc(100% - 70px) !important;
}

.header-search .search-form {
    background: rgba(255,255,255, 0.98) none repeat;
}

.header-search .search-form i.searchform-close-button,
.header-search .search-form #header-searchform input[type=text] {
    color: #616161 !important;
}

.header-search .search-form #header-searchform ::-webkit-input-placeholder {
    color: #616161 !important;
}

.header-search .search-form #header-searchform ::-moz-placeholder {
    color: #616161 !important;
}

.header-search .search-form #header-searchform :-ms-input-placeholder {
    color: #616161 !important;
}

.header-search .search-form #header-searchform :-moz-placeholder {
    color: #616161 !important;
}

.header-cart {
    margin: 0 15px 0 0;
}

.header-cart-widget {
    right: -1px;
}

.header-cart a span {
    height: 53px !important;
    line-height: 53px !important;
    background: none !important;
    color: #616161 !important;
    right: -5px !important;
}

#wrapper a.close-search-form:focus {
    outline: none !important;
}

#wrapper .is-open a.close-search-form:focus {
    outline: none !important;
}

.header-cart {
	margin: 0 15px 0 0;
    position: relative;
    float: right;
    top: 0;
    right: 0;
}

.header-search {
    display: block;
    float: right;
    padding: 0;
    margin: 0;
    position: relative;
    line-height: 53px;
    height: 53px;
}

/* ===============================================
   Featured links
   =============================================== */

.featured-links-section {
	padding: 0;
	background:#f9f9f9;
	margin-top:-30px;
	margin-bottom:30px;
}

.featured-links-wrapper {
	margin-top:30px;
	padding-top:30px;
	padding-bottom:30px;
}

.featured-link-item a {
    z-index: 999;
}

.featured-link-item .featured-link-title {
    z-index: 998;
}

.featured-link-item a:active ,
.featured-link-item a:focus {
	opacity:0.3
}

/* ===============================================
   Scrollable sidebar
   =============================================== */

#sidebar-wrapper #scroll-sidebar .mobile-navigation {
    background: #fff;
}

#sidebar-wrapper #scroll-sidebar,
body.logged-in.customizer_active #sidebar-wrapper #scroll-sidebar {
	background: #fff;
}

nav#mobilemenu ul li a,
#scroll-sidebar p,
#scroll-sidebar a,
#scroll-sidebar span,
#scroll-sidebar .title,
#scroll-sidebar li,
#scroll-sidebar address,
#scroll-sidebar dd,
#scroll-sidebar blockquote,
#scroll-sidebar caption,
#scroll-sidebar td,
#scroll-sidebar th {
	color:#616161;
}

/* ===============================================
   Slideshow
   =============================================== */

.slick-slideshow .slider-overlay .title {
	font-size:18px
}

.slick-slideshow .slick-slides .slick-article:hover ,
.slick-slideshow .slick-slides .slick-article:active ,
.slick-slideshow .slick-slides .slick-article:focus {
	opacity:0.8;
	transition:all 300ms ease;
}

/* ===============================================
   Post article
   =============================================== */

.post-article:not(.aside) {
    padding: 30px 0;
    background: none;
}

.masonry .product-content,
#blog .post-article,
#header_sidebar .post-article ,
#sidebar .post-article,
#masonry .post-article {
	border-left:solid 1px #f6f6f6;
	border-right:solid 1px #f6f6f6;
	border-bottom:solid 1px #f6f6f6;
	-moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
	padding:30px;
}

.entry-category {
    margin-bottom: 0px;
}

.masonry .product-thumbnail {
	border-left:solid 1px #f6f6f6;
	border-right:solid 1px #f6f6f6;
	border-top:solid 1px #f6f6f6;
}

/* ===============================================
   Post icon
   =============================================== */

.post .pin-container {
	background:none !important;
}

.post .pin-container:hover img {
    opacity: 1.0;
    filter: alpha(opacity=100);
}

.post .post-icon {
	bottom: 0;
    top: inherit;
    font-size: 18px;
    margin-bottom: -20px;
    background: white;
    color: #161616;
    opacity: 1.0;
    filter: alpha(opacity=100);
}

/* ===============================================
   Post details
   =============================================== */

#masonry .post-details {
	border-left:solid 1px #f6f6f6;
	border-right:solid 1px #f6f6f6;
	border-top:solid 1px #f6f6f6;
    padding:50px;
	margin-bottom:0
}

#masonry .post-details + .pin-container {
	border-left:solid 1px #f6f6f6;
	border-right:solid 1px #f6f6f6;
}

#masonry .entry-category {
    margin-bottom: 0;
}

.post-details {
    margin-bottom: 30px;
}

.post-details + .post-article {
    padding-top: 0px;
    margin-top: 0px;
}

/* ===============================================
   Related posts
   =============================================== */

.related-posts section {
    display: inline-block;
    width: 33%;
    margin-right: 0.5%;
}

.related-posts h3 {
	line-height:45px;
	margin:45px 0;
	text-align:center;
}

.related-posts section .related_post_details {
    -moz-transition: outline 0.5s ease;
    -o-transition: outline 0.5s ease;
    -ms-transition: outline 0.5s ease;
    transition: outline 0.5s ease;
    outline: dotted 1px transparent;
	text-align:center
}

.related-posts section:last-of-type {
    margin-right: 0;
}

.related-posts section .related_post_permalink:hover + .related_post_details ,
.related-posts section .related_post_permalink:focus + .related_post_details {
    outline: none;
}

.single_related_post {
	height:200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.single_related_post .related_post_details {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
	margin:0;
}

.single_related_post .related_post_details:before {
    bottom: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    opacity: .3;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.3) 30%, rgba(143,143,143,0.4) 50%, rgba(0,0,0,0.6) 100%);
    -moz-transition: opacity 0.5s ease;
    -o-transition: opacity 0.5s ease;
    -ms-transition: opacity 0.5s ease;
    transition: opacity 0.5s ease;
}

.single_related_post .related_post_inner_details {
    position: absolute;
    bottom: 15px;
    color: #fff;
    padding: 0 20px;
}

.single_related_post .related_post_inner_details h3 {
    margin: 0;
	font-size: 16px;
    line-height: 1.4em;
}

.related_post_permalink {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
	z-index:999;
}

.related_post_permalink:hover + .related_post_details:before,
.related_post_permalink:focus + .related_post_details:before {
	opacity: 0.5;
	-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity= 50);
	filter: alpha(opacity= 50);
}

#sidebar .post-article {
    border-top: none;
    border-bottom: solid 1px #f6f6f6;
}

#sidebar .post-article:first-of-type {
    border-top: solid 1px #f6f6f6;
}

/* ===============================================
   WooCommerce
   =============================================== */

.woocommerce_cart_page .post-article {
	padding:0 !important;
}

.woocommerce .woocommerce_cart_details {
    padding: 30px 0 0 0;
}

body.woocommerce-cart .post-container .container-fluid .title {
    margin-bottom: 30px;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
	padding:30px;
    border: solid 1px #f6f6f6;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border-color: #f6f6f6;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
    border-bottom: 1px solid #f6f6f6;
}

.product-content {
    padding: 0;
}

/* ===============================================
   Pagination
   =============================================== */

.wp-pagenavi a:hover,
.savana-pagination span,
.savana-pagination a span:hover,
.wp-pagenavi span.current,
.post-article .wp-pagenavi a:hover {
	border: solid 1px #d14a2b;
}


.wp-pagenavi a,
.wp-pagenavi a:link,
.wp-pagenavi span.current,
.savana-pagination span {
	border: solid 1px #f9f9f9;
}

/* ===============================================
   Footer
   =============================================== */

#bottom_sidebar {
	border-top: solid 1px #f6f6f6;
}

#bottom_sidebar .post-container {
	border-bottom: solid 1px #f6f6f6;
}

#bottom_sidebar .post-container:last-of-type {
	border-bottom: none;
}

#footer_widgets {
    padding: 30px 0;
}

/* ===============================================
   Back to top
   =============================================== */

#back-to-top span {
    color: #888;
	background:none !important;
	font-size:20px
}

#back-to-top span.open, #back-to-top span:hover {
	background:none !important;
    color: #444;
}

/* ===============================================
   Social buttons
   =============================================== */

.social-buttons {
    margin: 0;
    position: relative;
    text-align: right;
}

.social-buttons a:before {
    top: calc(100% + 50px);
}

.social-buttons a:after {
    top: calc(100% + 10px);
		border-top: none !important;
}

/* Facebook
   ---- */

.social-buttons a[button-title="Facebook"]:hover i ,
.social-buttons a[button-title="Facebook"]:focus i {
	color:#3b5998 !important
}

.social-buttons a[button-title="Facebook"]:after {
    border-bottom: 5px solid #3b5998 !important;
}

/* Twitter
   ---- */

.social-buttons a[button-title="Twitter"]:hover i,
.social-buttons a[button-title="Twitter"]:focus i {
	color:#00aced !important
}

.social-buttons a[button-title="Twitter"]:after {
    border-bottom: 5px solid #00aced;
}

/* Flickr
   ---- */

.social-buttons a[button-title="Flickr"]:hover i  ,
.social-buttons a[button-title="Flickr"]:focus i  {
	color:#ff0084 !important
}

.social-buttons a[button-title="Flickr"]:after {
    border-bottom: 5px solid #ff0084;
}

/* Linkedin
   ---- */

.social-buttons a[button-title="Linkedin"]:hover i  ,
.social-buttons a[button-title="Linkedin"]:focus i  {
	color:#007bb6 !important
}

.social-buttons a[button-title="Linkedin"]:after {
    border-bottom: 5px solid #007bb6;
}

/* Slack
   ---- */

.social-buttons a[button-title="Slack"]:hover i  ,
.social-buttons a[button-title="Slack"]:focus i  {
	color:#CF0E5B !important
}

.social-buttons a[button-title="Slack"]:after {
    border-bottom: 5px solid #CF0E5B;
}

/* Pinterest
   ---- */

.social-buttons a[button-title="Pinterest"]:hover i  ,
.social-buttons a[button-title="Pinterest"]:focus i  {
	color:#CF0E5B !important
}

.social-buttons a[button-title="Pinterest"]:after {
    border-bottom: 5px solid #CF0E5B;
}

/* Tumblr
   ---- */

.social-buttons a[button-title="Tumblr"]:hover i  ,
.social-buttons a[button-title="Tumblr"]:focus i  {
	color:#32506d !important
}

.social-buttons a[button-title="Tumblr"]:after {
    border-bottom: 5px solid #32506d;
}

/* Soundcloud
   ---- */

.social-buttons a[button-title="Soundcloud"]:hover i  ,
.social-buttons a[button-title="Soundcloud"]:focus i  {
	color:#FF9533 !important
}

.social-buttons a[button-title="Soundcloud"]:after {
    border-bottom: 5px solid #FF9533;
}

/* Spotify
   ---- */

.social-buttons a[button-title="Spotify"]:hover i  ,
.social-buttons a[button-title="Spotify"]:focus i  {
	color:#1ED761 !important
}

.social-buttons a[button-title="Spotify"]:after {
    border-bottom: 5px solid #1ED761;
}

/* Youtube
   ---- */

.social-buttons a[button-title="Youtube"]:hover i  ,
.social-buttons a[button-title="Youtube"]:focus i  {
	color:#CD201F !important
}

.social-buttons a[button-title="Youtube"]:after {
    border-bottom: 5px solid #CD201F;
}

/* Vimeo
   ---- */

.social-buttons a[button-title="Vimeo"]:hover i  ,
.social-buttons a[button-title="Vimeo"]:focus i  {
	color:#19B7EA !important
}

.social-buttons a[button-title="Vimeo"]:after {
    border-bottom: 5px solid #19B7EA;
}

/* Vk
   ---- */

.social-buttons a[button-title="Vk"]:hover i  ,
.social-buttons a[button-title="Vk"]:focus i  {
	color:#5181B8 !important
}

.social-buttons a[button-title="Vk"]:after {
    border-bottom: 5px solid #5181B8;
}

/* Instagram
   ---- */

.social-buttons a[button-title="Instagram"]:hover i  ,
.social-buttons a[button-title="Instagram"]:focus i  {
	color:#3F729B !important
}

.social-buttons a[button-title="Instagram"]:after {
    border-bottom: 5px solid #3F729B;
}

/* Deviantart
   ---- */

.social-buttons a[button-title="Deviantart"]:hover i  ,
.social-buttons a[button-title="Deviantart"]:focus i  {
	color:#05CC46 !important
}

.social-buttons a[button-title="Deviantart"]:after {
    border-bottom: 5px solid #05CC46;
}

/* Github
   ---- */

.social-buttons a[button-title="Github"]:hover i  ,
.social-buttons a[button-title="Github"]:focus i  {
	color:#4183C4 !important
}

.social-buttons a[button-title="Github"]:after {
    border-bottom: 5px solid #4183C4;
}

/* Xing
   ---- */

.social-buttons a[button-title="Xing"]:hover i  ,
.social-buttons a[button-title="Xing"]:focus i  {
	color:#126567 !important
}

.social-buttons a[button-title="Xing"]:after {
    border-bottom: 5px solid #126567;
}

/* Dribbble
   ---- */

.social-buttons a[button-title="Dribbble"]:hover i  ,
.social-buttons a[button-title="Dribbble"]:focus i  {
	color:#E94C88 !important
}

.social-buttons a[button-title="Dribbble"]:after {
    border-bottom: 5px solid #E94C88;
}

/* Dropbox
   ---- */

.social-buttons a[button-title="Dropbox"]:hover i  ,
.social-buttons a[button-title="Dropbox"]:focus i  {
	color:#0060FF !important
}

.social-buttons a[button-title="Dropbox"]:after {
    border-bottom: 5px solid #0060FF;
}

/* Whatsapp
   ---- */

.social-buttons a[button-title="Whatsapp"]:hover i  ,
.social-buttons a[button-title="Whatsapp"]:focus i  {
	color:#4FCE5D !important
}

.social-buttons a[button-title="Whatsapp"]:after {
    border-bottom: 5px solid #4FCE5D;
}

/* Telegram
   ---- */

.social-buttons a[button-title="Telegram"]:hover i  ,
.social-buttons a[button-title="Telegram"]:focus i  {
	color:#0088CC !important
}

.social-buttons a[button-title="Telegram"]:after {
    border-bottom: 5px solid #0088CC;
}

/* Trello
   ---- */

.social-buttons a[button-title="Trello"]:hover i  ,
.social-buttons a[button-title="Trello"]:focus i  {
	color:#0079bf !important
}

.social-buttons a[button-title="Trello"]:after {
    border-bottom: 5px solid #0079bf;
}

/* Twitch
   ---- */

.social-buttons a[button-title="Twitch"]:hover i  ,
.social-buttons a[button-title="Twitch"]:focus i  {
	color:#6441a5 !important
}

.social-buttons a[button-title="Twitch"]:after {
    border-bottom: 5px solid #6441a5;
}

/* Tripadvisor
   ---- */

.social-buttons a[button-title="Tripadvisor"]:hover i  ,
.social-buttons a[button-title="Tripadvisor"]:focus i  {
	color:#00af87 !important
}

.social-buttons a[button-title="Tripadvisor"]:after {
    border-bottom: 5px solid #00af87;
}

/* Vine
   ---- */

.social-buttons a[button-title="Vine"]:hover i  ,
.social-buttons a[button-title="Vine"]:focus i  {
	color:#00b488 !important
}

.social-buttons a[button-title="Vine"]:after {
    border-bottom: 5px solid #00b488;
}

/* Skype
   ---- */

.social-buttons a[button-title="Skype"]:hover i  ,
.social-buttons a[button-title="Skype"]:focus i  {
	color:#00AFF0 !important
}

.social-buttons a[button-title="Skype"]:after {
    border-bottom: 5px solid #00AFF0;
}

/* Email
   ---- */

.social-buttons a[button-title="Email"]:hover i  ,
.social-buttons a[button-title="Email"]:focus i  {
	color:#262626 !important
}

.social-buttons a[button-title="Email"]:after {
    border-bottom: 5px solid #262626;
}

/* RSS
   ---- */

.social-buttons a[button-title="Rss"]:hover i  ,
.social-buttons a[button-title="Rss"]:focus i  {
	color:#f60 !important
}

.social-buttons a[button-title="Rss"]:after {
    border-bottom: 5px solid #f60;
}

@media (max-width: 768px) {

	.header-search .search-form {
		right: -15px !important;
	}

	.header-search .search-form #header-searchform input[type=text] {
		left: 15px !important;
		width: calc(100% - 60px);
	}

}

@media screen and (min-width : 0) and (max-width : 991px) {

	body .header-search .search-form.is-open {
		top:0 !important;
	}

	.header-search .search-form #header-searchform input[type=text] {
		left: 30px !important;
		width: calc(100% - 75px);
	}

	.header-search .search-form #header-searchform input[type=text] {
		font-size:20px !important;
	}

	.header-search .search-form #header-searchform ::-webkit-input-placeholder {
		font-size:20px;
	}

	.header-search .search-form #header-searchform ::-moz-placeholder {
		font-size:20px;
	}

	.header-search .search-form #header-searchform :-ms-input-placeholder {
		font-size:20px;
	}

	.header-search .search-form #header-searchform :-moz-placeholder {
		font-size:20px;
	}

	.featured-link-item {
		margin-bottom:0;
	}

	.related-posts section {
		width: 100%;
		margin-right: 0;
		margin-bottom: 0.5%;
	}

	#sidebar,
	.post-container,
	.product-container,
	#masonry .post-container,
	.commentlist li .comment-respond,
	.row.masonry,
	.post-article.col-md-4,
	.post-article.col-md-6 {
		margin-bottom:30px;
	}

	body.woocommerce-cart #header-wrapper + .container {
		margin-top:0px !important;
	}

	.woocommerce .cart-collaterals .cart_totals,
	.woocommerce-page .cart-collaterals .cart_totals {
		margin-top:15px
	}

	.woocommerce #content table.cart td.actions .input-text,
	.woocommerce table.cart td.actions .input-text,
	.woocommerce-page #content table.cart td.actions .input-text,
	.woocommerce-page table.cart td.actions .input-text {
		width: 100% !important;
		margin-bottom: 5px;
	}

}

/* ===============================================
   NewsFactory Custom Homepage
   =============================================== */

.newsfactory-home {
    margin-top: 0;
    margin-bottom: 40px;
}

.newsfactory-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #f8fafc;
    padding: 70px 0 60px;
    margin-bottom: 30px;
}

.newsfactory-kicker {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 12px;
    margin: 0 0 10px;
    color: #93c5fd;
}

.newsfactory-hero h1 {
    color: #ffffff;
    margin: 0 0 12px;
    font-size: 42px;
    line-height: 1.1;
}

.newsfactory-subtitle {
    margin: 0;
    font-size: 18px;
    color: #cbd5e1;
    max-width: 760px;
}

.newsfactory-feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.newsfactory-feed-head h2 {
    margin: 0;
}

.newsfactory-all-posts {
    font-weight: 600;
}

.newsfactory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.newsfactory-card {
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.newsfactory-card-link {
    display: block;
    outline: none !important;
}

.newsfactory-media {
    position: relative;
    background: #f8fafc;
    height: 220px;
    overflow: hidden;
}

.newsfactory-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.newsfactory-media .original-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.newsfactory-card:hover .newsfactory-media .original-image,
.newsfactory-card:focus-within .newsfactory-media .original-image {
    opacity: 1;
}

.newsfactory-card-body {
    padding: 16px;
}

.newsfactory-meta {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 8px;
}

.newsfactory-card-body h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
}

.newsfactory-card-body p {
    margin: 0;
}

.newsfactory-no-image,
.newsfactory-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
    min-height: 180px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
}

.newsfactory-empty {
    min-height: 120px;
}

@media (max-width: 991px) {
    .newsfactory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsfactory-hero h1 {
        font-size: 34px;
    }
}

@media (max-width: 640px) {
    .newsfactory-grid {
        grid-template-columns: 1fr;
    }

    .newsfactory-feed-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .newsfactory-subtitle {
        font-size: 16px;
    }
}

/* ===============================================
   NewsFactory Theme Palette (Global Variables)
   =============================================== */

:root {
	--nf-theme-bg: #101010;
	--nf-theme-surface: #0f1a35;
	--nf-theme-surface-alt: #152449;
	--nf-theme-border: #233869;
	--nf-theme-text: #e8efff;
	--nf-theme-text-muted: #9eb1db;
	--nf-theme-link: #89b2ff;
	--nf-theme-link-hover: #b6d0ff;
	--nf-theme-accent: #8fd1ff;
}

body.nf-theme-light {
	--nf-theme-bg: #f4f7ff;
	--nf-theme-surface: #ffffff;
	--nf-theme-surface-alt: #eef3ff;
	--nf-theme-border: #c8d5f0;
	--nf-theme-text: #16284f;
	--nf-theme-text-muted: #4f628d;
	--nf-theme-link: #2c56ba;
	--nf-theme-link-hover: #183c93;
	--nf-theme-accent: #0c7da8;
}

body,
#wrapper {
	background: var(--nf-theme-bg);
	color: var(--nf-theme-text);
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
label,
span,
small {
	color: inherit;
}

a {
	color: var(--nf-theme-link);
}

a:hover,
a:focus {
	color: var(--nf-theme-link-hover);
}

#header-wrapper,
#header,
#menu-wrapper,
#logo-wrapper,
#footer,
#footer_widgets,
#top_sidebar {
	background-color: var(--nf-theme-surface);
	border-color: var(--nf-theme-border);
}

.post-article,
.post-container,
.product-container,
.widget,
.sidebar-area .post-article {
	background: var(--nf-theme-surface);
	border-color: var(--nf-theme-border);
	color: var(--nf-theme-text);
}

.sidebar-area,
.sidebar-area p,
.sidebar-area li,
#footer,
#footer p,
#footer li,
#footer_widgets,
#footer_widgets p,
#footer_widgets li {
	color: var(--nf-theme-text-muted);
}

/* ==============================================
   NewsFactory - Global Link Overrides
   ============================================== */

/* Remove underline from all NewsFactory card/component links */
[class*="nf-"] a,
[class*="nf-"] a:hover,
[class*="nf-"] a:active,
[class*="nf-"] a:focus,
a[class*="nf-"],
a[class*="nf-"]:hover,
a[class*="nf-"]:active,
a[class*="nf-"]:focus {
	text-decoration: none !important;
}

/* ==============================================
   AgentedNews Standalone Guards
   ============================================== */

/* Prevent legacy inline layout offsets from old parent scripts */
#wrapper[style] {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* Keep content tight to header/footer in standalone mode */
#header-wrapper + #content,
#header-wrapper + .container {
	margin-top: 0 !important;
}

