/* Common for all asides ----> */
[class^="aside-theme-"] li {
    list-style: none;
}

[class^="aside-theme-"] {
    border: 1px solid var(--primary-surface-border);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    overflow: hidden;
}

[class^="aside-theme-"] h3 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
}

[class^="aside-theme-"] h3>span {
    margin-right: 5px;
}

[class^="aside-theme-"] li>a {
    display: flex;
    transition: opacity 0.2s ease, color 0.2s ease;
}

[class^="aside-theme-"] a {
    color: color-mix(in srgb, var(--color) 60%, transparent) !important;
}

[class^="aside-theme-"] li>a:hover {
    opacity: 0.8;
}

[class^="aside-theme-"] li>a>span {
    margin-right: 8px;
}

[class^="aside-theme-"] .link-item>.icon>span {
    font-size: 18px !important;
}

/* <-------- Common for all asides */

.aside-theme-1 a {
    color: color-mix(in srgb, var(--color) 60%, transparent) !important;
}

.aside-theme-1 h3 {
    color: var(--primary-color);

}

.aside-theme-2 {
    background-color: color-mix(in srgb, var(--background) 97%, var(--mix-color));
    border-left: 2px solid var(--yellow );
}

.aside-theme-3 h3 {
    background-color: color-mix(in srgb, var(--background) 93%, var(--mix-color));
    border-radius: 10px;
    padding: 2px 20px;
}

.aside-theme-4 {
    background-color: color-mix(in srgb, var(--background) 97%, var(--mix-color));
    border-top: 4px solid var(--warning-color, #e9ef47);
}

.aside-theme-3 li a {
    align-items: center;
    gap: 0.5em;
}

.aside-theme-3 li a::before {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 0.6em;
    height: 0.6em;
    border-radius: 50%;
    background: var(--success-color, green);
}

aside .link-item {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .5rem;
    align-items: start;
}

aside .link-item:not(:last-child) {
    margin-bottom: 10px;
}

aside .icon {
    margin-top: .15rem;
    /* optional */
}

aside .link-content {
    display: flex;
    flex-direction: column;
}

aside .description {
    color: var(--text-muted);
    font-size: .9em;
}

aside>section:not(:last-child) {
    margin-bottom: 20px;
}




/* <!-- .skeletop loading styles --> */

/* Container card to frame the layout */
.skeleton-aside {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    margin-bottom: 15px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
    /* Subtle card border/background */
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Base Shimmer Style */
.pseudo-skeleton {
    border-radius: 4px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 25%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Structural Element Sizes */
.skeleton-title {
    height: 20px;
    width: 60%;
    /* Short header line */
}

.skeleton-image {
    height: 120px;
    width: 100%;
    /* Hero banner / thumbnail */
}

.skeleton-text {
    height: 12px;
    width: 100%;
    /* Paragraph line */
}

.skeleton-text.short {
    width: 80%;
    /* Second shorter paragraph line for realism */
}