/* Easy Blog Kurznews – Plugin-Suite-Basisdesign
 * Orientiert sich an den warmen Karten-/Listenlayouts aus Easy School.
 */

.easy-blog-short-news-wrapper {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: clamp(1.75rem, 4vw, 3rem);
    border: 1px solid rgba(35, 35, 35, .16);
    border-radius: clamp(24px, 4vw, 42px);
    background: #fff;
    color: #202124;
}

.easy-blog-short-news-title {
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
    color: inherit;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.easy-blog-short-news-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(.9rem, 2vw, 1.25rem);
    width: 100%;
}

.easy-blog-short-news-card,
.easy-blog-short-news-item {
    display: grid;
    grid-template-columns: clamp(76px, 12vw, 120px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 2vw, 1.35rem);
    width: 100%;
    min-width: 0;
    padding: clamp(.9rem, 2vw, 1.2rem) clamp(1rem, 2.5vw, 1.6rem);
    border: 1px solid rgba(35, 35, 35, .08);
    border-radius: clamp(18px, 3vw, 28px);
    background: #eef3f4;
    box-sizing: border-box;
    overflow: hidden;
}

.easy-blog-short-news-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(76px, 12vw, 120px);
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    background: #8fb3ad;
    color: rgba(32, 33, 36, .16);
    flex: 0 0 auto;
}


.easy-blog-short-news-thumb--align-top {
    align-self: start;
}

.easy-blog-short-news-thumb--align-center {
    align-self: center;
}

.easy-blog-short-news-thumb--align-bottom {
    align-self: end;
}

.easy-blog-short-news-thumb::before {
    content: "";
    width: 68%;
    height: 68%;
    display: block;
    background: currentColor;
    opacity: .55;
    -webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 11%, #000 12% 15%, transparent 16% 23%, #000 24% 28%, transparent 29% 36%, #000 37% 41%, transparent 42% 100%), conic-gradient(from 12deg, #000 0 8%, transparent 8% 13%, #000 13% 22%, transparent 22% 28%, #000 28% 39%, transparent 39% 45%, #000 45% 55%, transparent 55% 62%, #000 62% 73%, transparent 73% 80%, #000 80% 90%, transparent 90% 100%);
    mask: radial-gradient(circle at 50% 50%, transparent 0 11%, #000 12% 15%, transparent 16% 23%, #000 24% 28%, transparent 29% 36%, #000 37% 41%, transparent 42% 100%), conic-gradient(from 12deg, #000 0 8%, transparent 8% 13%, #000 13% 22%, transparent 22% 28%, #000 28% 39%, transparent 39% 45%, #000 45% 55%, transparent 55% 62%, #000 62% 73%, transparent 73% 80%, #000 80% 90%, transparent 90% 100%);
}

.easy-blog-short-news-content {
    min-width: 0;
}

.easy-blog-short-news-card-title {
    margin: 0;
    color: inherit;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.easy-blog-short-news-title-link {
    color: inherit;
    text-decoration: none;
}

.easy-blog-short-news-title-link:hover,
.easy-blog-short-news-title-link:focus {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.easy-blog-short-news-title-link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
    border-radius: 6px;
}

.easy-blog-short-news-meta,
.easy-blog-short-news-date {
    display: block;
    margin: .35rem 0 0;
    color: rgba(32, 33, 36, .66);
    font-size: clamp(.95rem, 1.6vw, 1.25rem);
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.easy-blog-short-news-text {
    color: inherit;
    line-height: 1.55;
}

.easy-blog-short-news-text p {
    margin: 0;
}

.easy-blog-short-news-text p + p {
    margin-top: .6em;
}

.easy-blog-short-news-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: .75rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: #263746;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .15s ease, filter .2s ease;
}

.easy-blog-short-news-link:hover,
.easy-blog-short-news-link:focus {
    color: #fff;
    filter: brightness(.94);
    transform: translateY(-1px);
    text-decoration: none;
}

.easy-blog-short-news-empty {
    margin: 0;
    opacity: .7;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 640px) {
    .easy-blog-short-news-wrapper {
        padding: 1.35rem;
        border-radius: 26px;
    }

    .easy-blog-short-news-card,
    .easy-blog-short-news-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: .85rem;
        padding: .85rem;
        border-radius: 20px;
    }

    .easy-blog-short-news-thumb {
        width: 64px;
        border-radius: 16px;
    }
}

/* 3.3.6+ – konfigurierbares Kurznews-Bild/Icon */
.easy-blog-short-news-card--no-visual {
    grid-template-columns: minmax(0, 1fr);
}

.easy-blog-short-news-thumb--image::before,
.easy-blog-short-news-thumb--icon::before {
    content: none;
}

.easy-blog-short-news-thumb-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.easy-blog-short-news-thumb--icon .easy-blog-short-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68%;
    height: 68%;
    font-size: 2.4rem;
    line-height: 1;
    color: currentColor;
}

.easy-blog-short-news-thumb--icon .easy-blog-short-news-icon svg {
    display: block;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.easy-blog-short-news-meta-date {
    display: inline;
    margin: 0;
    font: inherit;
    color: inherit;
}

.easy-blog-short-news-meta-separator {
    opacity: .85;
}


.easy-blog-short-news-thumb--icon .easy-blog-short-news-icon i {
    display: block;
    font-size: 1em;
    line-height: 1;
    color: currentColor;
}


/* 3.3.9 – Fallback-Klassen für Standardbild-Ausrichtung, falls Elementor-CSS nicht neu generiert wurde. */
.easy-blog-short-news-thumb--pos-top .easy-blog-short-news-thumb-image {
    object-position: center top;
}

.easy-blog-short-news-thumb--pos-center .easy-blog-short-news-thumb-image {
    object-position: center center;
}

.easy-blog-short-news-thumb--pos-bottom .easy-blog-short-news-thumb-image {
    object-position: center bottom;
}
