@charset "UTF-8";
/**
 * 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.
*/
/**
 * 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!
  */
/**
* @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.
*/
* {
  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;
  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)));
}
:host(limel-card[orientation=landscape]) section {
  flex-direction: row;
}
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;
}

img {
  transition: filter 0.6s ease;
  object-fit: cover;
  border-radius: calc(var(--card-border-radius, 0.95rem) / 1.4);
}
:host(limel-card[orientation=portrait]) img {
  width: 100%;
}
:host(limel-card[orientation=landscape]) img {
  flex-shrink: 0;
  max-width: 40%;
  height: 100%;
}
section:hover img, section:focus-visible img {
  transition-duration: 0.2s;
  filter: saturate(1.3);
}

limel-markdown {
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
}

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