.as-article-layout-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 40px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #0a192f;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.as-main-article {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.as-badge {
    display: inline-block;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 20px;
    background-color: #e2f6f6;
    color: #00a3a3;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-decoration: none;
}

.as-article-title {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 800;
    color: #032057;
    margin: 0 0 15px 0;
    letter-spacing: 0;
}

.as-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 40px;
}

.as-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.as-meta-item + .as-meta-item::before {
    content: "|";
    color: #cbd5e1;
    margin-right: 2px;
}

.as-author-name {
    white-space: nowrap;
}

.as-author-name a {
    color: #334155;
    font-weight: 650;
    text-decoration: none;
}

.as-author-name a:hover,
.as-author-name a:focus-visible {
    color: #00a3a3;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.as-featured-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 0 0 32px 0;
    object-fit: cover;
}

.as-article-body {
    font-size: 16px;
    line-height: 1.65;
    color: #334155;
    overflow-wrap: anywhere;
}

.as-article-body h1,
.as-article-body h2,
.as-article-body h3,
.as-article-body h4,
.as-section-title {
    color: #032057;
    line-height: 1.3;
}

.as-article-body h1 {
    font-size: 30px;
    font-weight: 800;
    margin: 38px 0 16px 0;
}

.as-article-body h2,
.as-section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 15px 0;
}

.as-article-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 28px 0 12px 0;
}

.as-article-body h4 {
    font-size: 17px;
    font-weight: 700;
    margin: 24px 0 10px 0;
}

.as-article-body p {
    margin: 0 0 15px 0;
}

.as-article-body ul,
.as-article-body ol {
    margin: 15px 0;
    padding-left: 22px;
}

.as-article-body li {
    margin-bottom: 8px;
}

.as-sidebar {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    align-self: start;
}

.as-sidebar-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 10px 25px -5px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.as-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #032057;
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 12px;
}

.as-card-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: #00a3a3;
    border-radius: 2px;
}

.as-cats-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.as-cats-list li {
    margin-bottom: 14px;
}

.as-cats-list li:last-child {
    margin-bottom: 0;
}

.as-cats-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #334155;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.as-cats-list a:hover {
    color: #00a3a3;
}

.as-cat-count {
    color: #94a3b8;
    font-size: 13px;
}

.as-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.as-post-item {
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.as-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.as-post-item-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: #032057;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.as-post-item-title:hover {
    color: #00a3a3;
}

.as-post-item-date,
.as-sidebar-empty {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}

.as-sidebar-empty {
    margin: 0;
}

.as-cta-card p {
    font-size: 15px;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 18px 0;
    font-weight: 500;
}

.as-sidebar-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #00a3a3;
    color: #ffffff;
    border-radius: 6px;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    max-width: 100%;
}

.as-sidebar-button:hover {
    color: #ffffff;
    filter: brightness(0.95);
}

@media (max-width: 1024px) {
    .as-article-layout-container {
        grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
        gap: 28px;
        padding: 20px 18px;
    }

    .as-sidebar {
        gap: 18px;
    }

    .as-sidebar-card {
        padding: 26px;
    }

    .as-article-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .as-article-layout-container {
        grid-template-columns: minmax(0, 1fr);
        padding: 10px;
        gap: 28px;
    }

    .as-sidebar {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .as-article-title {
        font-size: 30px;
    }

    .as-article-meta {
        margin-bottom: 28px;
    }

    .as-sidebar-card {
        padding: 22px;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    .as-article-layout-container {
        grid-template-columns: minmax(0, 1fr) minmax(230px, 270px);
        gap: 22px;
    }

    .as-sidebar-card {
        padding: 22px;
    }

    .as-card-title {
        font-size: 17px;
    }

    .as-cats-list a,
    .as-post-item-title,
    .as-cta-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .as-article-layout-container {
        padding: 0;
        gap: 24px;
    }

    .as-badge {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .as-article-title {
        font-size: 27px;
        line-height: 1.2;
    }

    .as-article-meta {
        gap: 8px;
        font-size: 13px;
        margin-bottom: 24px;
    }

    .as-featured-image {
        margin-bottom: 24px;
    }

    .as-article-body {
        font-size: 15px;
        line-height: 1.62;
    }

    .as-article-body h2,
    .as-section-title {
        font-size: 20px;
        margin-top: 28px;
    }

    .as-article-body h3 {
        font-size: 18px;
        margin-top: 24px;
    }

    .as-article-body h4 {
        font-size: 16px;
    }

    .as-sidebar-card {
        padding: 20px;
    }

    .as-card-title {
        font-size: 17px;
    }

    .as-cats-list a {
        font-size: 14px;
    }

    .as-sidebar-button {
        display: flex;
        width: 100%;
    }
}