/* =========================================================
   LICENCIA SOFTWARE - NEWS
   ======================================================= */

.lsna-shell,
.lsna-single-shell {
    width: min(1320px, calc(100% - 48px));
    margin-inline: auto;
}

.lsna-hero {
    padding: 92px 0 58px;
    text-align: center;
}

.lsna-hero .lsna-shell {
    max-width: 920px;
}

.lsna-kicker,
.lsna-category,
.lsna-small-label {
    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lsna-kicker {
    margin-bottom: 16px;
    color: #64748b;
}

.lsna-hero h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 650;
}

.lsna-hero p {
    max-width: 720px;
    margin: 22px auto 0;
    font-size: 18px;
    line-height: 1.7;
    color: #626262;
}

.lsna-news-section {
    padding: 28px 0 100px;
}

.lsna-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
}

.lsna-card {
    min-width: 0;
}

.lsna-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 2px;
    background: #f3f5f5;
}

.lsna-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.lsna-card:hover
.lsna-card-media img {
    transform: scale(1.025);
}

.lsna-placeholder {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    padding: 28px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 76% 22%,
            rgba(31, 148, 94, .24),
            transparent 34%
        ),
        radial-gradient(
            circle at 20% 90%,
            rgba(20, 46, 37, .16),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            #eef6f2 0%,
            #f7f8f8 54%,
            #e9efed 100%
        );
}

.lsna-placeholder::before,
.lsna-placeholder::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .07);
}

.lsna-placeholder::before {
    width: 190px;
    height: 190px;
    right: -55px;
    top: -45px;
}

.lsna-placeholder::after {
    width: 110px;
    height: 110px;
    right: 40px;
    top: 44px;
}

.lsna-placeholder span {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.lsna-placeholder strong {
    max-width: 180px;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -.04em;
}

.lsna-card-content {
    padding-top: 20px;
}

.lsna-card .lsna-category {
    margin-bottom: 11px;
    color: #64748b;
}

.lsna-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.22;
    letter-spacing: -.025em;
    font-weight: 600;
}

.lsna-card h2 a {
    color: inherit;
    text-decoration: none;
}

.lsna-card h2 a:hover {
    opacity: .68;
}

.lsna-excerpt {
    margin-top: 12px;
    color: #666;
    font-size: 15px;
    line-height: 1.65;
}

.lsna-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    font-size: 12px;
    color: #8a8a8a;
}

.lsna-card-meta span + span::before {
    content: "·";
    margin-right: 14px;
}

.lsna-pagination {
    margin-top: 72px;
}

.lsna-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.lsna-pagination a,
.lsna-pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #e3e3e3;
    color: #111;
    text-decoration: none;
}

.lsna-pagination .current {
    color: #fff;
    background: #111;
    border-color: #111;
}


/* SINGLE */

.lsna-single-header {
    padding: 88px 0 46px;
    text-align: center;
}

.lsna-single-header
.lsna-single-shell {
    max-width: 980px;
}

.lsna-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 27px;
    font-size: 13px;
    color: #858585;
}

.lsna-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.lsna-single-header
.lsna-category {
    margin-bottom: 16px;
    color: #4e715f;
}

.lsna-single h1 {
    max-width: 1000px;
    margin: 0 auto;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 650;
}

.lsna-lead {
    max-width: 820px;
    margin: 24px auto 0;
    color: #606060;
    font-size: 19px;
    line-height: 1.7;
}

.lsna-single-meta {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 26px;
    font-size: 13px;
    color: #888;
}

.lsna-single-meta span + span::before {
    content: "·";
    margin-right: 18px;
}

.lsna-single
.lsna-single-shell {
    max-width: 1040px;
}

.lsna-single-image,
.lsna-single-cover {
    margin-bottom: 54px;
}

.lsna-single-image img {
    display: block;
    width: 100%;
    height: auto;
}

.lsna-single-cover {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 460px;
    padding: 54px;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 18%,
            rgba(39, 171, 108, .22),
            transparent 34%
        ),
        radial-gradient(
            circle at 18% 88%,
            rgba(7, 31, 22, .12),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #edf6f1,
            #f7f8f7 55%,
            #e7eeeb
        );
}

.lsna-single-cover span {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lsna-single-cover strong {
    max-width: 500px;
    font-size: clamp(38px, 5vw, 66px);
    line-height: .98;
    letter-spacing: -.05em;
}

.lsna-article-content {
    max-width: 780px;
    margin-inline: auto;
    color: #323232;
    font-size: 17px;
    line-height: 1.85;
}

.lsna-article-content p {
    margin: 0 0 25px;
}

.lsna-article-content h2 {
    margin: 54px 0 18px;
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: -.03em;
}

.lsna-article-content h3 {
    margin: 35px 0 14px;
    font-size: 23px;
    line-height: 1.25;
}

.lsna-article-content ul,
.lsna-article-content ol {
    margin: 0 0 28px;
    padding-left: 24px;
}

.lsna-related-store,
.lsna-sources {
    max-width: 780px;
    margin-inline: auto;
}

.lsna-related-store {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 36px;
    padding: 38px;
    margin-top: 62px;
    border: 1px solid #e7e7e7;
    background: #fafafa;
}

.lsna-related-store h2 {
    margin: 8px 0 0;
    font-size: 25px;
}

.lsna-related-links {
    display: grid;
    gap: 8px;
}

.lsna-related-links a {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e2e2;
    color: #111;
    text-decoration: none;
    font-weight: 600;
}

.lsna-sources {
    padding-top: 42px;
    margin-top: 42px;
    border-top: 1px solid #e4e4e4;
}

.lsna-sources ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.lsna-sources a {
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lsna-back {
    max-width: 780px;
    margin: 55px auto 90px;
}

.lsna-back a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.lsna-empty {
    padding: 90px 20px;
    text-align: center;
    background: #f7f7f7;
}


@media (max-width: 1024px) {

    .lsna-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 640px) {

    .lsna-shell,
    .lsna-single-shell {
        width: min(
            100% - 30px,
            1320px
        );
    }

    .lsna-hero {
        padding: 58px 0 38px;
    }

    .lsna-hero p {
        font-size: 16px;
    }

    .lsna-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .lsna-single-header {
        padding: 56px 0 36px;
    }

    .lsna-single-meta {
        flex-wrap: wrap;
    }

    .lsna-single-cover {
        min-height: 300px;
        padding: 28px;
        margin-bottom: 36px;
    }

    .lsna-article-content {
        font-size: 16px;
    }

    .lsna-related-store {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

}
