/**
 * @package     JoomEasy
 * @subpackage  mod_joomeasy_elements
 *
 * @author      Axel Ropte / Webberry Webdesign
 * @copyright   Copyright (C) 2026 Webberry Webdesign. All rights reserved.
 * @license     GNU General Public License version 2 or later
 */

:root {
    --pp-common-dark-color: #000000;
    --pp-common-light-color: #ffffff;
    --pp-common-overlay-dark-bg: rgba(0, 0, 0, 0.5);
    --pp-common-overlay-light-bg: rgba(255, 255, 255, 0.5);
}

[data-bs-theme="dark"] {
    --pp-common-dark-color: #ffffff;
    --pp-common-light-color: #000000;
}


/* General */
.phModParticles {
    width: 100%;
}
.phModParticlesIcon a,
.phModParticlesIcon a:hover,
.phModParticlesTitle,
.phModParticlesTitle a:hover,
.phModParticlesSvg,
.phModParticlesSvg a:hover {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.je-el-prefix,
.je-el-suffix {
    display: inline;
}

.phModParticlesItemRow {
    position: relative;
}

.phModParticlesDescTop,
.phModParticlesDescBottom {
    padding: 1em;
}

.phModParticlesVideoBox iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}

/* Specific classes */
.phFontColorDark,
.phFontColorDark a:not(.btn):not(.dropdown-item) {
    color: var(--pp-common-dark-color);
}

.phFontColorLight,
.phFontColorLight a:not(.btn):not(.dropdown-item) {
    color: var(--pp-common-light-color);
}

/* Overlay */
.phOverlayLighten,
.phOverlayDarken {
    overflow: hidden;
    position: relative;
}
.phOverlayDarken::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--pp-common-overlay-dark-bg);
    z-index: 1;
}

.phOverlayLighten::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--pp-common-overlay-light-bg);
    z-index: 1;
}

.phOverlayLighten > *,
.phOverlayDarken > * {
  position: relative;
  z-index: 2;
}

/* Because of possible map */
.phModParticlesItemContentIn {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.je-el-main-title {
    margin-bottom: 0.5em
}

.je-el-main-desc {
    margin-bottom: 2em;
}

.je-row-reverse {
    flex-direction: row-reverse;
}

