/* MAJARA_BRAND_SYSTEM_V1 */

:root {
    --mj-brand-ink: #211d1a;
    --mj-brand-charcoal: #292521;
    --mj-brand-paper: #f7f3ee;
    --mj-brand-sand: #e9ddd0;
    --mj-brand-primary: #C51127;
    --mj-brand-primary-dark: #9E0E1F;
    --mj-brand-primary-light: #E8687A;
    --mj-brand-primary-rgb: 197, 17, 39;

    /* Legacy aliases for existing selectors */
    --mj-brand-gold: var(--mj-brand-primary);
    --mj-brand-gold-dark: var(--mj-brand-primary-dark);
    --mj-accent: var(--mj-brand-primary);
    --mj-accent-dark: var(--mj-brand-primary-dark);

    --mj-brand-text: #625a53;

    --e-global-color-primary: #211d1a;
    --e-global-color-secondary: #514a43;
    --e-global-color-text: #6d645c;
    --e-global-color-accent: var(--mj-brand-primary);
    --e-global-color-majara_gold: var(--mj-brand-primary);
}

.elementor-kit-6 {
    --e-global-color-accent: var(--mj-brand-primary);
    --e-global-color-majara_gold: var(--mj-brand-primary);
}

body.majara-site,
body.majara-site button,
body.majara-site input,
body.majara-site textarea,
body.majara-site select {
    font-family: "IRANSans", "IRANSansWeb", Arial, sans-serif;
}

/* Elementor defaults */
body.majara-site .elementor-button,
body.majara-site .elementor-widget-button .elementor-button {
    border-color: var(--mj-brand-primary) !important;
    background: var(--mj-brand-primary) !important;
    color: #fff !important;
    min-height: 48px;
}

body.majara-site .elementor-button:hover,
body.majara-site .elementor-widget-button .elementor-button:hover,
body.majara-site .elementor-button:focus-visible,
body.majara-site .elementor-widget-button .elementor-button:focus-visible {
    border-color: var(--mj-brand-primary-dark) !important;
    background: var(--mj-brand-primary-dark) !important;
    color: #fff !important;
}

body.majara-site .elementor-button:focus-visible,
body.majara-site .elementor-widget-button .elementor-button:focus-visible {
    outline: 3px solid rgba(var(--mj-brand-primary-rgb), .35);
    outline-offset: 2px;
}

body.majara-site .elementor-widget-icon-box .elementor-icon,
body.majara-site .elementor-widget-icon-list .elementor-icon-list-icon,
body.majara-site .elementor-widget-social-icons .elementor-social-icon {
    color: var(--mj-brand-primary) !important;
}

body.majara-site .elementor-widget-icon-box .elementor-icon svg,
body.majara-site .elementor-widget-icon-list .elementor-icon-list-icon svg {
    fill: currentColor !important;
}

/* Fix legacy pink / blue styles in project cards */
body.majara-site .project-card__title,
body.majara-site .project-card__title a {
    color: #fff !important;
}

body.majara-site .project-card__meta,
body.majara-site .project-card__category,
body.majara-site .project-card__year {
    color: var(--mj-brand-primary-light) !important;
}

body.majara-site .project-card__arrow {
    border-color: rgba(255,255,255,.45) !important;
    background: rgba(33,29,26,.72) !important;
    color: var(--mj-brand-primary) !important;
}

body.majara-site .project-card:hover .project-card__arrow {
    border-color: var(--mj-brand-primary) !important;
    background: var(--mj-brand-primary) !important;
    color: #fff !important;
}

body.majara-site .category-card,
body.majara-site .course-card {
    border-color: rgba(33,29,26,.12) !important;
}

body.majara-site .category-card__title,
body.majara-site .category-card__title a,
body.majara-site .category-card h3,
body.majara-site .course-card__title,
body.majara-site .course-card__title a {
    color: var(--mj-brand-ink) !important;
}

body.majara-site .category-card__count,
body.majara-site .course-card__meta,
body.majara-site .course-card__date {
    color: var(--mj-brand-primary-dark) !important;
}

body.majara-site .category-card__icon,
body.majara-site .category-card__icon i,
body.majara-site .category-card__icon svg {
    color: var(--mj-brand-primary) !important;
    fill: currentColor !important;
}

/* General links and badges */
body.majara-site .article-content a:not(.mj-button),
body.majara-site .page-content a:not(.mj-button) {
    color: var(--mj-brand-primary-dark);
}

body.majara-site .article-content a:not(.mj-button):hover,
body.majara-site .page-content a:not(.mj-button):hover {
    color: var(--mj-brand-ink);
}

body.majara-site .mj-eyebrow {
    color: var(--mj-brand-primary) !important;
}

body.majara-site .archive-filter a.is-active,
body.majara-site .archive-filter a:hover {
    border-color: var(--mj-brand-primary) !important;
    background: var(--mj-brand-primary) !important;
    color: #fff !important;
}
