* {
    margin: 0;
    padding: 0;
    border: 0;
}

@font-face {
    font-family: 'Santander Micro Text';
    src: url('fonts/SantanderMicroText.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Santander Headline';
    src: url('fonts/SantanderHeadline-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

:root {
    --color-background-brand: #EC0000;
    --color-background-btn-hover: #CC0000;
    --color-text-default: #222;
    --typescale-micro-font: "Santander Micro Text", sans-serif;
    --typescale-headline-font: "Santander Headline", sans-serif;
    --font-size-title: 12px;
    --font-size-banner: 18px;
    --font-size-body: 14px;
    --font-size-disclaimer: 12px;
    --border-radius-main: 16px;
    --border-radius-tag: 0 0 4px 4px;
    --border-radius-button: 4px;
    --elevation-flat-focus-outer: 0px 0px 0px 2px rgba(255, 255, 255, 1), 0px 0px 0px 4px rgba(51, 102, 255, 1);
    --elevation-raised: 0 1px 6px rgba(163, 163, 163, 0.4); /* Used for interactive assets on the UI with elevation. */


}


.tag {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    display: flex;
    min-width: 48px;
    min-height: 20px;
    max-height: 20px;
    padding: 2px 8px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-tag);
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

.tag-promotion {
    background-color: #FC3;
    color: var(--color-text-default);
}

.tag-online {
    background-color: #23779A;
    color: #fff;
}

.tag-new {
    background-color: #F0F8F0;
    color: #008035;
}

.content:has(.tag-none) {
    padding-top: 8px;
}

.tag-none {
    display: none;
}

.tag span {
    max-width: 20ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.content {
    background-color: #fff;
    border-radius: var(--border-radius-main);
    display: flex;
    flex-direction: column;
    padding: 17px 8px 8px 8px;
    align-items: flex-end;
    justify-content: space-between;
    flex: 1 0 0;
    align-self: stretch;
    gap: 4px;
}

.text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 2px;
}

.title-text {
    color: var(--color-background-brand);
    font-size: var(--font-size-title);

}

.banner-title {
    font-family: var(--typescale-headline-font);
}

.body-text {
    font-size: var(--font-size-body);
}

.disclaimer {
    font-size: var(--font-size-disclaimer);
}

.cut {
    max-width: 198px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.cut.line-1 {
    -webkit-line-clamp: 2;
}

.cut.line-3 {
    -webkit-line-clamp: 4;
}

.cut.line-4 {
    -webkit-line-clamp: 4;
}

.banner-link {
    display: flex;
    min-width: 112px;
    min-height: 32px;
    max-height: 32px;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius-button);
    box-shadow: 0 1px 6px 0 rgba(163, 163, 163, 0.40);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
    background-color: var(--color-background-brand);
    border: none;
    align-self: end;
    text-decoration: none;
}

.banner-link:focus-visible {
    box-shadow: var(--elevation-flat-focus-outer);
    outline: none;
}

.banner-link:hover {
    background-color: var(--color-background-btn-hover);
}

.banner-link:active {
    background-color: var(--color-background-btn-hover);
    box-shadow: var(--elevation-raised);
}

.not-display {
    display: none;
}