@charset "UTF-8";
/**
* @prop --card-heading-color: color of the heading. Defaults to `--contrast-1100`;
* @prop --card-subheading-color: color of the sub heading. Defaults to `--contrast-1000`;
* @prop --card-border-radius: border radius of the card. Defaults to `0.95rem`;
* @prop --card-background-color: background color of the card.
* @prop --card-background-color--hovered: background color of the card, when hovered.
*/
/**
* Note! This file is exported to `dist/scss/` in the published
* node module, for consumer projects to import.
* That means this file cannot import from any file that isn't
* also exported, keeping the same relative path.
*
* Or, just don't import anything, that works too.
*/
/**
* This can be used on a trigger element that opens a dropdown menu or a popover.
*/
/**
 * This mixin will mask out the content that is close to
 * the edges of a scrollable area.
 * - If the scrollable content has `overflow-y`, use `vertically`
 * as an argument for `$direction`.
 - If the scrollable content has `overflow-x`, use `horizontally`
 * as an argument for `$direction`.
 *
 * For the visual effect to work smoothly, we need to make sure that
 * the size of the fade-out edge effect is the same as the
 * internal paddings of the scrollable area. Otherwise, content of a
 * scrollable area that does not have a padding will fade out before
 * any scrolling has been done.
 * This is why this mixin already adds paddings, which automatically
 * default to the size of the fade-out effect.
 * This size defaults to `1rem`, but to override the size use
 * `--limel-top-edge-fade-height` & `--limel-bottom-edge-fade-height`
 * when `vertically` argument is set, and use
 * `--limel-left-edge-fade-width` & `--limel-right-edge-fade-width`
 * when `horizontally` argument is set.
 * Of course you can also programmatically increase and decrease the
 * size of these variables for each edge, based on the amount of
 * scrolling that has been done by the user. In this case, make sure
 * to add a custom padding where the mixin is used, to override
 * the paddings that are automatically added by the mixin in the
 * compiled CSS code.
 */
/**
* This mixin will add an animated underline to the bottom of an `a` elements.
* Note that you may need to add `all: unset;` –depending on your use case–
* before using this mixin.
*/
/**
* This mixin creates a cross-browser font stack.
* - `sans-serif` can be used for the UI of the components.
* - `monospace` can be used for code.
*
* ⚠️ If we change the font stacks, we need to update
* 1. the consumer documentation in `README.md`, and
* 2. the CSS variables of `--kompendium-example-font-family`
* in the `<style>` tag of `index.html`.
*/
/**
* This mixin is a hack, using old CSS syntax
* to enable you to truncate a piece of text,
* after a certain number of lines.
*/
/**
* This mixin will add a chessboard background pattern,
* typically used to visualize transparency.
*/
/**
* Make a container resizable by the user.
* This is used in the documentations and examples
* of some components, to demonstrate how the component
* behaves in a resizable container.
*/
/**
 * Drag to reorder mixins
 */
/**
 * The breakpoints below are used to create responsive designs
 * in Lime's products. Therefore, they are here to get distributed
 * to all components in other private repos, which rely on this `mixins`
 * file, to create consistent styles.
 *
 * :::important
 * In very rare cases you should used media queries!
 * Nowadays, there are many better ways of achieving responsive design
 * without media queries. For example, using CSS Grid, Flexbox, and their features.
 * :::
 */
/**
  * Media query mixins for responsive design based on screen width.
  * Note that these mixins do not detect the device type!
  */
* {
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
}

:host(limel-card) {
  display: flex;
  border-radius: var(--card-border-radius, 0.95rem);
}

section {
  box-sizing: border-box;
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}
:host(limel-card[orientation=landscape]) section {
  flex-direction: row;
}
section {
  width: 100%;
  border-radius: var(--card-border-radius, 0.95rem);
  border: 1px solid rgb(var(--contrast-500));
  padding: 0.25rem;
  background-color: var(--card-background-color, rgb(var(--contrast-300)));
}
section:hover {
  border-color: transparent;
  background-color: var(--card-background-color--hovered, var(--card-background-color, rgb(var(--contrast-200))));
}

.body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.image-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
:host(limel-card[orientation=portrait]) .image-wrapper {
  width: 100%;
}
:host(limel-card[orientation=landscape]) .image-wrapper {
  flex-shrink: 0;
  max-width: 40%;
  height: 100%;
}
:host(limel-card[orientation=landscape]) .image-wrapper img {
  height: 100%;
}

img {
  transition: filter 0.6s ease;
  object-fit: cover;
  border-radius: calc(var(--card-border-radius, 0.95rem) / 1.4);
  min-width: 0.5rem;
  min-height: 0.5rem;
  max-width: 100%;
  max-height: 100%;
}
section:hover img, section:focus-visible img {
  transition-duration: 0.2s;
  filter: saturate(1.3);
}

.markdown-wrapper {
  position: relative;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.markdown-wrapper limel-markdown {
  overflow-y: auto;
  flex-grow: 1;
  padding: 0.5rem 0.75rem;
}
.markdown-wrapper::before {
  top: 0;
  background: radial-gradient(farthest-side at 50% 0%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
}
.markdown-wrapper::after {
  bottom: 0;
  background: radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
}
.markdown-wrapper::before, .markdown-wrapper::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 0;
  left: 0;
  height: 0.75rem;
  opacity: 0;
  transition: opacity 0.6s ease;
  background-repeat: no-repeat;
}
.markdown-wrapper.can-scroll-up::before, .markdown-wrapper.can-scroll-down::after {
  opacity: 1;
}

header {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
}
:host(limel-card[orientation=landscape]) header {
  padding-top: 0.5rem;
}
header:has(limel-icon) {
  padding-left: 0.25rem;
}
header .headings {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}
header .title {
  padding-right: 1.25rem;
}
header limel-icon {
  flex-shrink: 0;
  width: 2rem;
}
header h1 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--card-heading-color, rgb(var(--contrast-1100)));
  letter-spacing: -0.03125rem;
}
header h2 {
  font-size: var(--limel-theme-default-font-size);
  font-weight: 400;
  color: var(--card-subheading-color, rgb(var(--contrast-1000)));
}
header h1,
header h2 {
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  margin: 0;
}

limel-action-bar {
  flex-shrink: 0;
  --action-bar-background-color: transparent;
  margin-left: auto;
}

limel-3d-hover-effect-glow {
  border-radius: var(--card-border-radius, 0.95rem);
}

:host(limel-card) {
  isolation: isolate;
  transform-style: preserve-3d;
  perspective: 1000px;
}
@media (prefers-reduced-motion) {
  :host(limel-card) {
    perspective: 2000px;
  }
}

section {
  position: relative;
  transition-duration: 0.8s;
  transition-property: transform, box-shadow, background-color;
  transition-timing-function: ease-out;
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 0, 0deg);
}
section:focus {
  outline: none;
}
section:hover, section:focus, section:focus-visible, section:focus-within {
  will-change: background-color, box-shadow, transform;
}
section:hover, section:focus, section:focus-visible, section:active {
  transition-duration: 0.2s;
}
section:hover, section:focus-visible {
  box-shadow: var(--button-shadow-hovered), var(--shadow-depth-16);
}
section:hover {
  transform: scale3d(1.01, 1.01, 1.01) rotate3d(var(--limel-3d-hover-effect-rotate3d));
}
section:focus-visible {
  outline: none;
  transform: scale3d(1.01, 1.01, 1.01);
}
section:hover limel-3d-hover-effect-glow {
  --limel-3d-hover-effect-glow-opacity: 0.5;
}
@media (prefers-reduced-motion) {
  section:hover limel-3d-hover-effect-glow {
    --limel-3d-hover-effect-glow-opacity: 0.2;
  }
}
:host(limel-card[clickable]) section {
  cursor: pointer;
  box-shadow: var(--button-shadow-normal);
}
:host(limel-card[clickable]) section:hover, :host(limel-card[clickable]) section:focus-visible {
  box-shadow: var(--button-shadow-hovered), var(--shadow-depth-16);
}
:host(limel-card[clickable]) section:active {
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 0, 0deg);
  box-shadow: var(--button-shadow-pressed);
}
:host(limel-card[clickable]) section:focus-visible {
  box-shadow: var(--shadow-depth-8-focused), var(--button-shadow-hovered);
}
:host(limel-card[clickable]) section:focus-visible:active {
  box-shadow: var(--shadow-depth-8-focused), var(--button-shadow-pressed);
}