/* Lacero SEO Toolkit - front styles */
:root {
    --lacero-black: #111111;
    --lacero-charcoal: #242424;
    --lacero-muted: #6d6a63;
    --lacero-border: #ded8cd;
    --lacero-soft: #f7f5f0;
    --lacero-soft-2: #fbfaf7;
    --lacero-gold: #b59a63;
}

.entry-content h2[id],
.entry-content h3[id],
.post-content h2[id],
.post-content h3[id],
.product-short-description h2[id],
.product-short-description h3[id] {
    scroll-margin-top: 110px;
}

.lacero-auto-tldr {
    position: relative;
    margin: 0 0 34px 0;
    padding: 24px 26px 24px;
    background: linear-gradient(135deg, var(--lacero-soft-2), var(--lacero-soft));
    border: 1px solid var(--lacero-border);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(17, 17, 17, .055);
    overflow: hidden;
}

.lacero-auto-tldr__topline {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--lacero-black), var(--lacero-gold));
}

.lacero-auto-tldr__label {
    margin: 0 0 8px 0;
    color: var(--lacero-black);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.lacero-auto-tldr__intro {
    margin: 0 0 16px 0;
    color: var(--lacero-muted);
    font-size: 15px;
    line-height: 1.5;
}

.lacero-auto-tldr__list {
    margin: 0;
    padding: 0;
    counter-reset: laceroTldr;
    list-style: none;
}

.lacero-auto-tldr__item {
    position: relative;
    margin: 0;
    padding: 14px 0 14px 42px;
    border-top: 1px solid rgba(17, 17, 17, .08);
    color: var(--lacero-charcoal);
}

.lacero-auto-tldr__item:first-child {
    border-top: 0;
    padding-top: 6px;
}

.lacero-auto-tldr__item::before {
    counter-increment: laceroTldr;
    content: counter(laceroTldr);
    position: absolute;
    left: 0;
    top: 14px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--lacero-black);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lacero-auto-tldr__item:first-child::before {
    top: 6px;
}

.lacero-auto-tldr__item a {
    display: inline-block;
    margin: 0 0 3px 0;
    color: var(--lacero-black);
    text-decoration: none;
    font-weight: 700;
}

.lacero-auto-tldr__item a:hover {
    color: var(--lacero-gold);
}

.lacero-auto-tldr__item em {
    display: block;
    color: #4f4b44;
    font-style: normal;
    font-size: 15px;
    line-height: 1.55;
}

.lacero-auto-tldr__item--h3 {
    padding-left: 52px;
}

.lacero-auto-tldr__item--h3::before {
    background: #343434;
}

.lacero-author-box {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin: 42px 0 0;
    padding: 26px;
    background: #fff;
    border: 1px solid var(--lacero-border);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(17, 17, 17, .055);
}

.lacero-author-box__avatar {
    flex: 0 0 86px;
    width: 86px;
    height: 86px;
    overflow: hidden;
    border-radius: 50%;
    background: var(--lacero-soft);
    border: 1px solid var(--lacero-border);
}

.lacero-author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lacero-author-box__avatar-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--lacero-black);
    font-size: 28px;
    font-weight: 700;
}

.lacero-author-box__content {
    flex: 1;
    min-width: 0;
}

.lacero-author-box__label {
    margin: 0 0 6px;
    color: var(--lacero-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.lacero-author-box__name {
    margin: 0 0 4px;
    color: var(--lacero-black);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.lacero-author-box__name a {
    color: inherit;
    text-decoration: none;
}

.lacero-author-box__role {
    margin: 0 0 10px;
    color: var(--lacero-muted);
    font-size: 14px;
}

.lacero-author-box__bio p {
    margin: 0 0 10px;
    color: #444;
    line-height: 1.65;
}

.lacero-author-box__bio p:last-child {
    margin-bottom: 0;
}

.lacero-author-box__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.lacero-author-box__socials a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    color: var(--lacero-black);
    background: var(--lacero-soft);
    border: 1px solid var(--lacero-border);
    border-radius: 999px;
    font-size: 13px;
    text-decoration: none;
}

.lacero-author-box__socials a:hover {
    background: var(--lacero-black);
    border-color: var(--lacero-black);
    color: #fff;
}

.lacero-author-box--classic {
    border-radius: 0;
    box-shadow: none;
    border-left: 4px solid var(--lacero-black);
}

.lacero-author-box--classic .lacero-author-box__avatar {
    border-radius: 8px;
}

.lacero-author-box--compact {
    align-items: center;
    padding: 18px;
    border-radius: 14px;
    box-shadow: none;
}

.lacero-author-box--compact .lacero-author-box__avatar {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
}

.lacero-author-box--compact .lacero-author-box__bio {
    font-size: 14px;
}

@media (max-width: 768px) {
    .lacero-auto-tldr {
        padding: 20px 18px;
        border-radius: 15px;
    }

    .lacero-auto-tldr__item {
        padding-left: 38px;
    }

    .lacero-author-box {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }

    .lacero-author-box__avatar {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }
}
