/*
 * Theme Name:  MotorisuMotori News Child
 * Theme URI:   https://www.motorisumotori.live/
 * Description: Tema editoriale MotorisuMotori basato sul parent dedicato MSM News.
 * Author:      StarAtlas Media
 * Author URI:  https://www.staratlasmedia.com/
 * Template:    msm-news
 * Version:     1.1.2
 * Text Domain: newsreader
 */

/* MotorisuMotori uses the parent's local DM Sans face throughout. */
:root {
	--msm-brand-red: #dd3333;
}

body,
button,
input,
select,
textarea,
.elementor,
.elementor-kit-168749 {
	font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.cs-entry__title,
.cs-entry__title a,
.cs-header__nav,
.elementor-heading-title {
	font-family: "DM Sans", sans-serif;
}

body .cs-author-profile {
	--cs-author-profile-accent: var(--msm-brand-red);
}

.cs-entry__post-meta .cs-meta-author-avatar img,
.cs-author-profile__avatar img {
	border-radius: 50%;
	object-fit: cover;
}

/* Honor Elementor's 2px mosaic gap only in the homepage hero stack. */
.elementor-6 .elementor-element.elementor-element-8018446 .cs-posts-area__main {
	row-gap: var(--cs-posts-row-gap, var(--cs-posts-area-grid-row-gap));
	column-gap: var(--cs-posts-column-gap, var(--cs-posts-area-grid-column-gap));
}

/* Preserve the authored colors of the local social-brand SVGs. */
.cs-social img.msm-static-social-icon {
	filter: none !important;
}

/* Keep Atlas advertising labels compact and independent from the theme root size. */
body .ad-wrapper__label {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 9px;
}

/* The article rhythm rule is more specific than Atlas: restore its intended spacing. */
.single .cs-main-content .entry-content > .ad-wrapper {
	margin-top: 22px;
	margin-bottom: 22px;
}
