/**
 * Theme Name: 		SmartyMagazine - Child
 * Theme URI: 		https://smartystudio.net
 * Author: 			Martin Nestorov @ Smarty Studio
 * Author URI: 		hhttps://smartystudio.net
 * Description: 	Child theme for SmartyMagazine, generated for CryptoPoint.bg website.
 * Version: 		1.0.0
 * License: 		GPL-2.0+
 * License URI: 	http://www.gnu.org/licenses/gpl-2.0.txt
 * Template:        smarty-magazine
 * Text Domain:     smarty_magazine_child
 * Tested up to: 	6.0
 * Requires PHP: 	8.0
 *
 * This theme, like WordPress, is licensed under the GPL.
 */

/* Remove list style and spacing */
#polylang-2 ul,
#polylang-2 li {
  	list-style: none;
  	margin: 0;
  	padding: 0;
}

/* Flex layout for inline flags */
#polylang-2 ul {
  	display: flex;
  	align-items: center;
  	margin-bottom: 0;
}

/* Style for flag links */
#polylang-2 li a {
  	display: inline-flex;
  	align-items: center;
  	padding: 6px;
  	text-decoration: none;
}

/* Make the flags bigger */
#polylang-2 li a img {
  	display: inline-block;
  	margin-right: 0;
}

/* Remove right margin from last flag (optional tweak for tighter spacing) */
#polylang-2 li:last-child {
  	margin-right: 7px !important;
  	border-right: none !important;
}

/* News categories sidebar */
.sm-sidebar .widget:not(.sm-sidebar-widget.sm-news-list-4) {
    margin-top: 0 !important;
}

/* Remove border from the last .widget_custom_html ONLY if there are 2 or more */
.widget_custom_html:nth-last-of-type(1):nth-of-type(n+2) {
  border: none !important;
}

.sm-archive-widget {
  border: none !important;
}

/* Donation Page */
h2.text-primary {
	color: #212529 !important;
}

