/*******************************
 * Buttons
 ******************************/
/*
 * Applies the complete set of button styles with all desired style variations.
 * This mixin is normally applied to form buttons or links with
 * the desired button classes eg. .button.style-xxx.
 */
/*
 * Contains styles that all of the buttons have in common.
 * Some button styles might opt out or override some of these styles.
 * One benefit of this approach is that all of the buttons will be consistently
 * configurable with the CSS variables defined below.
 */
/*******************************
 * Button Styles
 *
 * Styles should define the way the buttons look. Depending on the project,
 * you may need to optimize each style based on the section / element that
 * a button is used in. For that purpose you can use the predefined CSS
 * variables to easily overwrite the desired colors based on your need.
 ******************************/
/*******************************
 * Inputs
 ******************************/
.wpce-instagram-feed {
  margin-block: var(--element-spacing);
}
.wpce-instagram-feed .FeedLayout__wrapper {
  background-color: transparent !important;
  padding: 0 !important;
}
.wpce-instagram-feed .FeedGridLayout__cell {
  border-radius: var(--rounded);
  overflow: hidden;
}
.wpce-instagram-feed .FeedLayout__col-footer {
  margin-top: var(--element-spacing) !important;
}
.wpce-instagram-feed .FeedGridLayout__grid {
  gap: 0.5rem !important;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity) {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  font: inherit;
  line-height: 1;
  letter-spacing: inherit;
  word-spacing: inherit;
  white-space: nowrap;
  background: none;
  color: inherit;
  text-align: left;
  --button-background: var(--primary-color);
  --button-color: var(--primary-contrast, var(--text-color-inverted));
  --button-border-color: var(--button-background);
  --button-hover-background: var(--primary-color-darker);
  --button-hover-color: var(--button-color);
  --button-hover-border-color: var(--button-hover-background);
  --button-active-background: var(--primary-color-darker-2);
  --button-active-color: var(--button-color);
  --button-active-border-color: var(--button-active-background);
}
@container style(--theme: dark) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity) {
    --button-background: var(--white);
    --button-color: var(--primary-color);
    --button-hover-background: var(--primary-100);
    --button-active-background: var(--primary-200);
    --button-active-color: var(--primary-800);
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity) {
  ---background: var(--button-background);
  ---color: var(--button-color);
  ---border-color: var(--button-border-color);
  border: 1px solid var(---border-color);
  background-color: var(---background);
  color: var(---color);
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9375rem;
  line-height: 1.333;
  letter-spacing: -0.005em;
  border-radius: var(--rounded);
  transition: background-color 150ms, border-color 150ms, color 150ms;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):focus:not(:focus-visible) {
  outline: none;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):focus-visible {
  outline: 2px solid var(--focus-color, var(--primary-color));
  outline-offset: var(--focus-offset, 3px);
}
@media (hover: hover) and (pointer: fine) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):hover {
    ---background: var(--button-hover-background);
    ---color: var(--button-hover-color);
    ---border-color: var(--button-hover-border-color);
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):active {
  ---background: var(--button-active-background);
  ---color: var(--button-active-color);
  ---border-color: var(--button-active-border-color);
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):where(:disabled, .disabled, [aria-disabled=true], .inert, [inert], .inert *, [inert] *) {
  pointer-events: none;
  cursor: default;
  opacity: 0.5;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"]) {
  --overlay-translate: 0%;
  --overlay-color: var(--button-hover-background);
  --overlay-duration: 200ms;
  overflow: hidden;
  position: relative;
  z-index: 0;
  padding: 1rem 1.5rem;
  line-height: 1.25;
  background-color: var(--button-background);
  border: none;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default::selection, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"])::selection {
  background-color: rgba(255, 255, 255, 0.9)  !important;
  color: oklch(from var(--primary-color) calc(l * 0.9) c h)  !important;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default::after, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"])::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition-property: transform, background-color;
  transition-duration: 300ms;
  transform: translate(var(--overlay-translate));
  background-color: var(--overlay-color);
  pointer-events: none;
  z-index: -1;
}
@container style(--theme: dark) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default::selection, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"])::selection {
    background-color: oklch(from var(--primary-color) calc(l * 0.9) calc(c * 1.5) h)  !important;
    color: white  !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default:where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):hover, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"]):where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):hover {
    --overlay-translate: 100%;
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default:where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):active, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"]):where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):active {
  --overlay-translate: 100%;
  --overlay-color: var(--button-active-background);
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default:not(.without-arrow), .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"]):not(.without-arrow) {
  gap: var(--button-arrow-gap, 0.75rem);
  flex-direction: row-reverse;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-default:not(.without-arrow)::before, .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):not([class^=style-]):not([class*=" style-"]):not(.without-arrow)::before {
  content: "";
  width: 0.75rem;
  height: 0.625rem;
  background-color: var(--button-arrow-color, currentColor);
  mask-image: url(/wp-content/themes/rattin.ch/dist/10728c781f9bafca.svg);
  mask-size: 100% 100%;
  transition-duration: 150ms;
  transition-property: transform;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon {
  --overlay-translate: 0%;
  --overlay-color: var(--button-hover-background);
  --overlay-duration: 200ms;
  overflow: hidden;
  position: relative;
  z-index: 0;
  padding: 1rem 1.5rem;
  line-height: 1.25;
  background-color: var(--button-background);
  border: none;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon::selection {
  background-color: rgba(255, 255, 255, 0.9)  !important;
  color: oklch(from var(--primary-color) calc(l * 0.9) c h)  !important;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon::after {
  content: "";
  position: absolute;
  right: 100%;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition-property: transform, background-color;
  transition-duration: 300ms;
  transform: translate(var(--overlay-translate));
  background-color: var(--overlay-color);
  pointer-events: none;
  z-index: -1;
}
@container style(--theme: dark) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon::selection {
    background-color: oklch(from var(--primary-color) calc(l * 0.9) calc(c * 1.5) h)  !important;
    color: white  !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon:where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):hover {
    --overlay-translate: 100%;
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon:where(:not(:disabled):not(.disabled):not([aria-disabled=true]):not(.inert):not([inert]):not(.inert *):not([inert] *)):active {
  --overlay-translate: 100%;
  --overlay-color: var(--button-active-background);
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-icon {
  padding: 1rem;
  border-radius: 100vmax;
  width: 0.75rem;
  height: 0.75rem;
  box-sizing: content-box;
  justify-content: center;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-text {
  --button-color: var(--form-color, var(--primary-color));
  --button-hover-color: var(--form-hover, var(--primary-color-lighter));
  --button-active-color: var(--form-active, var(--primary-color-darker));
  background-color: transparent;
  border: none;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 2px;
  align-self: center;
  line-height: inherit;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary {
  --button-background: transparent;
  --button-color: var(--primary-color);
  --button-border-color: var(--border-color);
  --button-hover-background: transparent;
  --button-hover-color: var(--primary-color-darker);
  --button-hover-border-color: color-mix(in srgb, var(--black), transparent 80%);
  --button-active-background: var(--primary-50);
  --button-active-color: var(--primary-color-dark);
  --button-active-border-color: color-mix(in srgb, var(--primary-950), transparent 80%);
}
@container style(--theme: dark) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary {
    --button-color: var(--primary-50);
    --button-border-color: color-mix(in srgb, var(--white), transparent 85%);
    --button-hover-color: var(--primary-100);
    --button-hover-border-color: color-mix(in srgb, var(--white), transparent 60%);
    --button-active-background: color-mix(in srgb, var(--white), transparent 90%);
    --button-active-color: var(--white);
    --button-active-border-color: transparent;
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary {
  padding: 1rem 1.5rem;
  line-height: 1.25;
  border: 1px solid var(---border-color);
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary:where(:disabled, .disabled, [aria-disabled=true], .inert, [inert], .inert *, [inert] *) {
  pointer-events: none;
  opacity: 0.5;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary:not(.without-arrow) {
  gap: var(--button-arrow-gap, 0.75rem);
  flex-direction: row-reverse;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary:not(.without-arrow)::before {
  content: "";
  width: 0.75rem;
  height: 0.625rem;
  background-color: var(--button-arrow-color, currentColor);
  mask-image: url(/wp-content/themes/rattin.ch/dist/10728c781f9bafca.svg);
  mask-size: 100% 100%;
  transition-duration: 150ms;
  transition-property: transform;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary-icon {
  --button-background: transparent;
  --button-color: var(--primary-color);
  --button-border-color: var(--border-color);
  --button-hover-background: transparent;
  --button-hover-color: var(--primary-color-darker);
  --button-hover-border-color: color-mix(in srgb, var(--black), transparent 80%);
  --button-active-background: var(--primary-50);
  --button-active-color: var(--primary-color-dark);
  --button-active-border-color: color-mix(in srgb, var(--primary-950), transparent 80%);
}
@container style(--theme: dark) {
  .wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary-icon {
    --button-color: var(--primary-50);
    --button-border-color: color-mix(in srgb, var(--white), transparent 85%);
    --button-hover-color: var(--primary-100);
    --button-hover-border-color: color-mix(in srgb, var(--white), transparent 60%);
    --button-active-background: color-mix(in srgb, var(--white), transparent 90%);
    --button-active-color: var(--white);
    --button-active-border-color: transparent;
  }
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary-icon {
  padding: 1rem 1.5rem;
  line-height: 1.25;
  border: 1px solid var(---border-color);
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary-icon:where(:disabled, .disabled, [aria-disabled=true], .inert, [inert], .inert *, [inert] *) {
  pointer-events: none;
  opacity: 0.5;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity).style-secondary-icon {
  padding: 1rem;
  border-radius: 100vmax;
  width: 0.75rem;
  height: 0.75rem;
  box-sizing: content-box;
  justify-content: center;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):focus:not(:focus-visible) {
  outline: none;
}
.wpce-instagram-feed .FeedLayout__follow-btn .DesignedButton__link:is(*, #increase-specificity):focus-visible {
  outline: 2px solid var(--focus-color, var(--primary-color));
  outline-offset: var(--focus-offset, 3px);
}
