/* Phoca Particles - Common Styles (shared across all types) */

: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;
}

.phModParticlesTitlePrefix,
.phModParticlesTitleSuffix {
    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;
}

.phModParticlesItemTitle {
    font-weight: 900;
    font-size: 240%;
    text-align: center;
    margin-bottom: 0.25em
}

.phModParticlesItemDesc {
    text-align: center;
    margin-bottom: 1em;
}