/*
Theme Name: Amarga Politica
Theme URI: https://amarga-politica.com/
Author: Amarga Politica Team
Author URI: https://amarga-politica.com/
Description: Amarga Politica is a modern, high-performance WordPress theme designed for political campaigns, news outlets, advocacy groups, and organizations. Features full RTL/LTR support with Noto Naskh Arabic and Rufina fonts, mega menus, configurable blocks with drag-and-drop ordering, PWA capabilities, and comprehensive mobile responsiveness. Built with the WordPress Full Site Editing framework for maximum flexibility.
Version: 1.0.9
License: GNU General Public License version 2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amarga-politica
Requires PHP: 7.4
Requires at least: 6.0
Tested up to: 6.9
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, block-patterns, block-styles, editor-style, wide-blocks, template-editing, style-variations, grid-layout, full-width-template, footer-widgets, featured-images, full-site-editing, featured-image-header, flexible-header, custom-background, custom-colors, custom-header, custom-menu, custom-logo, post-formats, sticky-post, threaded-comments, translation-ready, theme-options, rtl-language-support, education, portfolio, photography

Amarga Politica WordPress Theme © 2025
Amarga Politica is distributed under the terms of GNU GPL
*/

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: "Rufina", serif !important;
}

/*
 * Text and navigation link styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.25ch;
}

a:hover,
a:focus {
	text-decoration-style: dashed;
}

a:active {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item a:hover,
.wp-block-navigation .wp-block-navigation-item a:focus {
	text-decoration: underline;
	text-decoration-style: solid;
}

/*
 * Search and File Block button styles.
 * Necessary until the following issues are resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/36444
 * https://github.com/WordPress/gutenberg/issues/27760
 */

.wp-block-search__button,
.wp-block-file .wp-block-file__button {
	background-color: var(--wp--preset--color--extra-primary);
	border-radius: 0;
	border: none;
	color: var(--wp--preset--color--foreground);
	font-size: var(--wp--preset--font-size--medium);
	padding: calc(.667em + 2px) calc(1.333em + 2px);
}

body.home .wp-site-blocks>*+* {
	margin-block-start: 0 !important;
}

body.home .services-section-01 .is-layout-flex,
body.home .services-section-02 .is-layout-flex {
	gap: 0 !important;
}

/*
 * Button hover styles.
 * Necessary until the following issue is resolved in Gutenberg:
 * https://github.com/WordPress/gutenberg/issues/27075
 */

.wp-block-search__button:hover,
.wp-block-file .wp-block-file__button:hover,
.wp-block-button__link:hover {
	opacity: 0.90;
}

.wp-block-button__link {
	font-weight: normal !important;
}

/*
 * Alignment styles.
 * These rules are temporary, and should not be relied on or
 * modified too heavily by themes or plugins that build on
 * Twenty Twenty-Two. These are meant to be a precursor to
 * a global solution provided by the Block Editor.
 *
 * Relevant issues:
 * https://github.com/WordPress/gutenberg/issues/35607
 * https://github.com/WordPress/gutenberg/issues/35884
 */

.wp-site-blocks,
body>.is-root-container,
.edit-post-visual-editor__post-title-wrapper,
.wp-block-group.alignfull,
.wp-block-group.has-background,
.wp-block-cover.alignfull,
.is-root-container .wp-block[data-align="full"]>.wp-block-group,
.is-root-container .wp-block[data-align="full"]>.wp-block-cover {
	padding-left: var(--wp--custom--spacing--outer);
	padding-right: var(--wp--custom--spacing--outer);
}

.wp-site-blocks .alignfull,
.wp-site-blocks>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-cover,
.wp-site-blocks>.wp-block-template-part>.wp-block-group.has-background,
.wp-site-blocks>.wp-block-template-part>.wp-block-cover,
body>.is-root-container>.wp-block-cover,
body>.is-root-container>.wp-block-template-part>.wp-block-group.has-background,
body>.is-root-container>.wp-block-template-part>.wp-block-cover,
.is-root-container .wp-block[data-align="full"] {
	margin-left: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	margin-right: calc(-1 * var(--wp--custom--spacing--outer)) !important;
	width: unset;
}

body.home .wp-block-cover {
	margin-block-start: 0 !important;
}

nav.Hdr-menu.wp-block-navigation ul {
	font-weight: 600 !important;
}


/* Blocks inside columns don't have negative margins. */
.wp-site-blocks .wp-block-columns .wp-block-column .alignfull,
.is-root-container .wp-block-columns .wp-block-column .wp-block[data-align="full"],
/* We also want to avoid stacking negative margins. */
.wp-site-blocks .alignfull:not(.wp-block-group) .alignfull,
.is-root-container .wp-block[data-align="full"]>*:not(.wp-block-group) .wp-block[data-align="full"] {
	margin-left: auto !important;
	margin-right: auto !important;
	width: inherit;
}

.headright-part {
	text-align: right;
}

body.home header.wp-block-template-part {
	position: relative;
	width: 100%;
	z-index: 999;
}

/*
 * Responsive menu container padding.
 * This ensures the responsive container inherits the same
 * spacing defined above. This behavior may be built into
 * the Block Editor in the future.
 */

.wp-block-navigation__responsive-container.is-menu-open {
	padding-top: var(--wp--custom--spacing--outer);
	padding-bottom: var(--wp--custom--spacing--large);
	padding-right: var(--wp--custom--spacing--outer);
	padding-left: var(--wp--custom--spacing--outer);
}

.wp-block-navigation ul li.current-menu-item>a,
.wp-block-navigation ul li a:hover {
	color: var(--wp--preset--color--extra-primary) !important;
}

/* = Contact Form 7 CSS
----------------------------------------------- */
.wpcf7 {
	margin: 30px 0 0;
	padding: 0;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="email"] {
	width: 40%;
	border: 1px solid #cccccc;
	box-shadow: inset 1px 1px 2px #ccc;
	color: #797979;
	margin-bottom: 0;
	height: 40px;
	padding: 0 15px;
}

.wpcf7 textarea {
	border: 1px solid #cccccc;
	box-shadow: inset 1px 1px 2px #ccc;
	color: #797979;
	margin-bottom: 25px;
	padding: 10px;
	width: 60%;
	height: 160px;
	font-size: 12px;
}

.wpcf7 input[type="submit"] {
	background-color: #efc62c;
	padding: 20px 40px;
	border-radius: 40px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	color: #ffffff;
	width: auto;
	border: none;
	text-transform: uppercase;
}

.wpcf7 input[type="submit"]:hover {
	background-color: #101010;
}

.main-slider {
	position: relative;
}

.main-slider .owl-dots,
.main-slider .owl-nav {
	position: absolute;
	z-index: 999 !important;
	bottom: 50px;
	left: 0;
	right: 0;
	width: 100%;
	text-align: center;
	margin-top: 0 !important;
}

.main-slider .owl-dot.active span {
	background: var(--wp--preset--color--extra-primary) !important;
}

.main-slider .owl-dot span {
	background: #fff !important;
	display: block;
	width: 15px !important;
	height: 15px !important;
	border-radius: 30px;
	margin: 5px;
}

.main-slider .owl-nav {
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
}

.main-slider button.owl-prev {
	position: absolute;
	left: 70px;
}

.main-slider button.owl-next {
	position: absolute;
	right: 70px;
}

.main-slider button.owl-next span,
.main-slider button.owl-prev span {
	background: rgb(255 255 255 / 50%);
	padding: 14px;
	border-radius: 6px;
	color: #fff;
}

.main-slider button.owl-next span:hover,
.main-slider button.owl-prev span:hover {
	background: var(--wp--preset--color--background);
}

.man-image img {
	position: relative;
	bottom: -45px;
}

.services-box {
	box-shadow: 0 0 10px 1px #cfcfcf;
}

.service-btn {
	background: #F5F5F5;
	padding: 10px;
	width: 30px;
	height: 30px;
	border-radius: 10px;
}

.services-box:hover {
	background: var(--wp--preset--color--background);
}

.services-box:hover .main-service-icon img {
	filter: brightness(0) invert(1);
}

.services-box:hover h3 a,
.services-box:hover p {
	color: #fff !important;
}


.post-main-area {
	box-shadow: 0 0 15px 1px #afafaf;
}

.footer-div a,
.services-box h3 a {
	text-decoration: none;
}

.post-page-area .wp-block-post {
	padding: 30px;
	box-shadow: 12px 12px 50px rgba(0, 0, 0, 0.4);
	margin-bottom: 30px;
}

.sidebar-area-wrap .taxonomy-post_tag a {
	background: var(--wp--preset--color--extra-primary);
	padding: 5px !important;
	border-radius: 6px;
	display: inline-block;
	margin-bottom: 10px;
	color: #fff !important;
	margin-right: 10px;
}

.sidebar-area-wrap .taxonomy-post_tag span {
	display: none;
}

.read-more-btn a.wp-block-post-excerpt__more-link {
	background: var(--wp--preset--color--extra-primary);
	border-color: currentColor;
	color: var(--wp--preset--color--white);
	font-weight: 700;
	padding-top: 15px;
	padding-right: 30px;
	padding-bottom: 15px;
	padding-left: 30px;
}

@media (max-width: 1100px) {
	.post-page-area .wp-block-columns.is-layout-flex.wp-block-columns-is-layout-flex {
		max-width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
}

@media (max-width: 990px) {
	.post-page-area .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		padding-right: 0 !important;
	}
}

.woocommerce-account .wp-block-post-title,
.woocommerce-account main .woocommerce,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart main .woocommerce,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout main .woocommerce {
	max-width: 100%;
}

pre {
	background: #eee;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

/*comment*/
.wp-block-comments {
	padding: 20px;
	border: 1px solid #dfdfdf;
}

.wp-block-comment-template li .wp-block-columns {
	border: 1px solid #dfdfdf;
	padding: 20px;
}

.wp-block-avatar img {
	border: 1px solid #dfdfdf;
	padding: 2px;
}

.wp-block-post-comments-form textarea {
	background: #f8f8f8;
}

.entry-content {
	overflow-wrap: anywhere;
	overflow: hidden;
}

.buy-now-button {
	padding: 5px 10px !important;
	color: #fff !important;
	border-radius: 7px !important;
	background: var(--wp--preset--color--background) !important;
}