.lr-news-section {
    --lr-news-gap: 12px;
    --lr-news-card-radius: 24px;
    --lr-news-card-padding: 20px;
    --lr-news-card-width-wide: 328px;
    --lr-news-card-width-narrow: 277px;
    --lr-news-card-height-tall: 390px;
    --lr-news-card-height-short: 189px;
    position: relative;
    isolation: isolate;
    width: 100%;
    color: initial;
    font-family: "Roboto", sans-serif;
    line-height: 1.2;
    text-align: left;
}

.lr-news-section,
.lr-news-section *,
.lr-news-section *::before,
.lr-news-section *::after {
    box-sizing: border-box;
}

.lr-news-section button,
.lr-news-section input,
.lr-news-section textarea,
.lr-news-section select {
    font: inherit;
}

.lr-news-carousel {
    position: relative;
    width: 100%;
}

.lr-news-carousel-viewport {
    width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    scrollbar-width: none;
    cursor: grab;
}

.lr-news-carousel-viewport.is-dragging {
    cursor: grabbing;
}

.lr-news-carousel-viewport.is-dragging * {
    cursor: grabbing;
}

.lr-news-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.lr-news-carousel-container {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: var(--lr-news-gap) !important;
    width: max-content !important;
    min-width: 100% !important;
    user-select: none;
    -webkit-user-drag: none;
}

.lr-news-carousel-slide {
    flex: 0 0 auto !important;
    min-width: 0;
}

.lr-news-carousel-slide-narrow {
    width: var(--lr-news-card-width-narrow) !important;
}

.lr-news-carousel-slide-wide,
.lr-news-carousel-slide-stack {
    width: var(--lr-news-card-width-wide) !important;
}

.lr-news-carousel-slide-stack {
    display: grid !important;
    grid-template-rows: repeat(2, var(--lr-news-card-height-short)) !important;
    gap: var(--lr-news-gap) !important;
}

.lr-news-carousel-fade {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 148px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(270deg, #ffffff 6%, rgba(255, 255, 255, 0) 100%);
    transition: opacity 0.2s ease;
}

.lr-news-carousel.is-end .lr-news-carousel-fade {
    opacity: 0;
}

.lr-news-section .lr-news-carousel-nav {
    all: unset;
    box-sizing: border-box;
    position: absolute !important;
    top: 50% !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12) !important;
    color: #0C8CE9 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transform: translateY(-50%) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none;
    appearance: none;
    font: inherit !important;
    line-height: 1 !important;
    min-height: 48px !important;
    min-width: 48px !important;
}

.lr-news-carousel-prev {
    left: 24px !important;
}

.lr-news-carousel-next {
    right: 24px !important;
}

.lr-news-section .lr-news-carousel-nav svg {
    width: 20px !important;
    height: 20px !important;
    max-width: none !important;
}

.lr-news-section .lr-news-carousel-nav path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.lr-news-section .lr-news-carousel-nav:hover,
.lr-news-section .lr-news-carousel-nav:focus,
.lr-news-section .lr-news-carousel-nav:focus-visible,
.lr-news-section .lr-news-carousel-nav:active {
    color: #0C8CE9 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 0 !important;
    transform: translateY(-50%) scale(1.04) !important;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16) !important;
    outline: none !important;
}

.lr-news-section .lr-news-carousel-nav:disabled {
    opacity: 0 !important;
    pointer-events: none !important;
}

.lr-news-section lr-news-card {
    position: relative;
    display: block;
    flex: 0 0 auto !important;
    width: var(--lr-news-card-width-wide);
    height: var(--lr-news-card-height-short);
    border-radius: var(--lr-news-card-radius);
    color: white;
    overflow: hidden;
}

.lr-news-section lr-news-card[loading],
.lr-news-section lr-news-card:not(:defined) {
    background: linear-gradient(135deg, #eef2f6 0%, #d9e2ec 100%);
}

.lr-news-section lr-news-card[loading]::before,
.lr-news-section lr-news-card:not(:defined)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.58) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: lr-news-card-skeleton-shimmer 1.35s ease-in-out infinite;
    pointer-events: none;
}

.lr-news-section lr-news-card[loading] > *,
.lr-news-section lr-news-card:not(:defined) > * {
    visibility: hidden;
}

.lr-news-section .lr-news-card-anchor {
    all: unset;
    display: block;
    flex: 0 0 auto !important;
    width: 100%;
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer;
}

.lr-news-section .lr-news-card-slot {
    color: inherit;
}

.lr-news-section .lr-news-card-slot--title,
.lr-news-section .lr-news-card-slot--tag {
    display: inline;
}

.lr-news-section .lr-news-card-slot--text {
    display: block;
    color: inherit;
}

.lr-news-section .lr-news-card-slot--text > * {
    margin-top: 0;
    margin-bottom: 0;
}

.lr-news-section .lr-news-card-slot--text > * + * {
    margin-top: 0.6em;
}

.lr-news-section .lr-news-card-anchor lr-news-card {
    cursor: pointer;
}

.lr-news-section lr-news-card[size="narrow"] {
    width: var(--lr-news-card-width-narrow);
}

.lr-news-section lr-news-card[rows="2"] {
    height: var(--lr-news-card-height-tall);
    grid-row: span 2;
}

:host {
    all: initial;
    display: block;
    width: var(--lr-news-card-width-wide);
    height: var(--lr-news-card-height-short);
    color: white;
    font-family: "Roboto", sans-serif;
    line-height: 1.2;
    text-align: left;
    box-sizing: border-box;
    cursor: inherit;
}

:host([clickable]),
:host([clickable]) .lr-news-card {
    cursor: pointer;
}

:host *,
:host *::before,
:host *::after {
    box-sizing: border-box;
}

:host([size="narrow"]) {
    width: var(--lr-news-card-width-narrow);
}

:host([rows="2"]) {
    height: var(--lr-news-card-height-tall);
    grid-row: span 2;
}

:host([theme="light"]) {
    color: black;
}

:host([theme="dark"]) {
    color: white;
}

.lr-news-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: var(--lr-news-gap);
    width: 100%;
    height: 100%;
    padding: var(--lr-news-card-padding);
    border-radius: var(--lr-news-card-radius);
    background-color: rgb(251, 228, 180);
    background-image: var(--lr-news-card-media, none);
    background-size: cover;
    background-position: center;
    font-family: inherit;
    font-optical-sizing: auto;
    font-style: normal;
    color: inherit;
    overflow: hidden;
}

:host([layout="top"]) .lr-news-card {
    justify-content: flex-start;
}

.lr-news-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.lr-news-card__media[hidden] {
    display: none;
}

.lr-news-card__media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lr-news-card__skeleton {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: var(--lr-news-gap);
    width: 100%;
    height: 100%;
    padding: var(--lr-news-card-padding);
    border-radius: inherit;
    background: linear-gradient(135deg, #eef2f6 0%, #d9e2ec 100%);
    color: transparent;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

:host([layout="top"]) .lr-news-card__skeleton {
    justify-content: flex-start;
}

:host([loading]) .lr-news-card__skeleton {
    opacity: 1;
    visibility: visible;
}

.lr-news-card__skeleton::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.58) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: lr-news-card-skeleton-shimmer 1.35s ease-in-out infinite;
}

.lr-news-card__skeleton-tags,
.lr-news-card__skeleton-content {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
}

.lr-news-card__skeleton-tags {
    flex-wrap: wrap;
    gap: 8px;
}

.lr-news-card__skeleton-content {
    flex-direction: column;
    gap: 10px;
}

.lr-news-card__skeleton-chip,
.lr-news-card__skeleton-line {
    display: block;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.lr-news-card__skeleton-chip {
    width: 92px;
    height: 34px;
}

.lr-news-card__skeleton-chip--short {
    width: 68px;
}

.lr-news-card__skeleton-line {
    height: 14px;
}

.lr-news-card__skeleton-line--title {
    width: 76%;
    height: 30px;
}

.lr-news-card__skeleton-line--title-short {
    width: 54%;
    height: 30px;
}

.lr-news-card__skeleton-line--text {
    width: 64%;
}

:host([loading]) .lr-news-card__media,
:host([loading]) .lr-news-card__tags,
:host([loading]) .lr-news-card__content {
    opacity: 0;
}

.lr-news-card__tags,
.lr-news-card__content,
.lr-news-card__header,
.lr-news-card__text {
    position: relative;
    z-index: 1;
}

.lr-news-card__tags[hidden],
.lr-news-card__content[hidden],
.lr-news-card__text[hidden] {
    display: none;
}

.lr-news-card__content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: var(--lr-news-gap);
}

.lr-news-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.lr-news-card__header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.lr-news-card__title {
    display: block;
    width: 80%;
}

:host([hide-link]) .lr-news-card__title {
    width: 100%;
}

.lr-news-card__link {
    --lr-link-accent: var(--lr-news-arrow-color, #0C8CE9);
    --lr-link-bg: var(--lr-news-arrow-bg-color, white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background-color: var(--lr-link-bg);
    transition: background-color 0.2s ease;
}

:host([hide-link]) .lr-news-card__link {
    display: none;
}

.lr-news-card__link svg {
    width: 20px;
    height: 20px;
}

.lr-news-card__link path {
    stroke: var(--lr-link-accent);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

:host([link-variant="green"]) .lr-news-card__link {
    --lr-link-accent: var(--lr-news-arrow-color, #22C55E);
}

:host([link-variant="violet"]) .lr-news-card__link {
    --lr-link-accent: var(--lr-news-arrow-color, #5F5FF5);
}

:host([link-variant="green"]) .lr-news-card__tags {
    color: var(--lr-news-tag-color, #22C55E);
}

:host([link-variant="violet"]) .lr-news-card__tags {
    color: var(--lr-news-tag-color, #5F5FF5);
}

:host([link-variant="orange"]) .lr-news-card__tags {
    color: var(--lr-news-tag-color, #FF7F25);
}

:host([link-variant="orange"]) .lr-news-card__link {
    --lr-link-accent: var(--lr-news-arrow-color, #FF7F25);
}

.lr-news-card__link:hover,
.lr-news-card__link:focus-visible {
    background-color: var(--lr-link-accent);
    outline: none;
}

.lr-news-card__link:hover path,
.lr-news-card__link:focus-visible path {
    stroke: var(--lr-link-bg);
}

.lr-news-card__text {
    display: block;
}

::slotted(.lr-news-card-slot--tag) {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 48px;
    background-color: white;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

::slotted(.lr-news-card-slot--title) {
    color: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

::slotted(.lr-news-card-slot--text) {
    color: inherit;
    font-size: 16px;
    line-height: 1.3;
}

@keyframes lr-news-card-skeleton-shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lr-news-section lr-news-card[loading]::before,
    .lr-news-section lr-news-card:not(:defined)::before,
    .lr-news-card__skeleton::before {
        animation: none;
    }
}

@media (max-width: 767px) {
    .lr-news-section .lr-news-carousel-nav {
        display: none !important;
    }

    .lr-news-carousel-prev {
        left: 12px;
    }

    .lr-news-carousel-next {
        right: 12px;
    }

    .lr-news-carousel-fade {
        width: 96px;
    }
}
