body.portoadmin-blog-page {
    background:
    radial-gradient(circle at top left, rgba(167, 104, 206, 0.16), transparent 24%),
        linear-gradient(180deg, #fcf8f2 0%, #f6f7fb 42%, #eef2f8 100%);
}

.blog-main {
    padding-bottom: 48px;
}

.blog-hero-section,
.article-hero-section {
    padding: 34px 0 18px;
}

.blog-hero-card,
.article-hero-card {
    background:
        radial-gradient(circle at top right, rgba(199, 138, 230, 0.18), transparent 28%),
        linear-gradient(135deg, #4f176c 0%, #7b3fa0 56%, #b06ecf 100%);
    border-radius: 30px;
    padding: 34px;
    color: #fff;
    box-shadow: 0 24px 70px rgba(88, 34, 120, 0.2);
}

.article-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    gap: 28px;
    align-items: center;
}

.article-hero-grid--page {
    align-items: stretch;
}

.article-hero-copyblock {
    max-width: 760px;
}

.blog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: end;
}

.blog-eyebrow,
.blog-chip,
.blog-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffd77a;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-section-kicker {
    background: rgba(123, 63, 160, 0.1);
    color: #6f2f98;
}

.blog-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.blog-breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.blog-breadcrumbs a:hover {
    color: #ffd77a;
}

.blog-hero-title,
.article-hero-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-hero-copy {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.8;
}

.article-hero-excerpt {
    margin: 20px 0 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-hero-side {
    min-width: 0;
}

.article-hero-media,
.article-hero-summary {
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.article-hero-media {
    min-height: 320px;
}

.article-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-hero-summary {
    padding: 28px;
    color: rgba(255, 255, 255, 0.88);
}

.article-summary-label {
    margin: 0 0 14px;
    color: #ffd77a;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-summary-points {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 12px;
    line-height: 1.75;
}

.blog-featured-section,
.blog-list-section,
.blog-empty-section,
.article-main-section {
    padding: 18px 0;
}

.blog-featured-card,
.blog-list-card,
.article-content-card,
.article-side-card,
.blog-empty-state,
.page-related-posts {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(37, 46, 64, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(26, 39, 59, 0.08);
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    overflow: hidden;
}

.blog-featured-media,
.blog-list-media,
.recent-post-item {
    text-decoration: none;
}

.blog-featured-media img,
.blog-list-media img,
.article-feature-image,
.recent-post-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-featured-media {
    min-height: 360px;
}

.blog-featured-content,
.blog-list-content,
.article-content-card,
.article-side-card,
.page-related-posts {
    padding: 30px;
}

.blog-featured-content h2,
.blog-list-content h3,
.article-side-card h2,
.page-related-head h2 {
    margin: 0 0 14px;
    color: #182234;
    font-weight: 700;
    line-height: 1.25;
}

.blog-featured-content h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.5rem);
}

.blog-list-content h3 {
    font-size: 1.18rem;
}

.blog-featured-content h2 a,
.blog-list-content h3 a,
.recent-post-item strong,
.page-related-posts h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #6f7c91;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.blog-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta a {
    color: #6f7c91;
    text-decoration: none;
}

.blog-post-meta a:hover,
.blog-featured-content h2 a:hover,
.blog-list-content h3 a:hover,
.page-related-posts h3 a:hover {
    color: #7b3fa0;
}

.blog-featured-excerpt,
.blog-list-content p,
.article-side-note,
.author-bio {
    color: #66758a;
    line-height: 1.8;
}

.blog-primary-link,
.blog-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.blog-primary-link {
    padding: 0 22px;
    background: linear-gradient(135deg, #7b3fa0 0%, #a768ce 55%, #c78ae6 100%);
    color: #fff;
    box-shadow: 0 16px 26px rgba(123, 63, 160, 0.22);
}

.blog-secondary-link {
    color: #6f2f98;
}

.blog-primary-link:hover,
.blog-secondary-link:hover {
    transform: translateY(-1px);
    color: inherit;
}

.blog-list-header,
.page-related-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
    margin-bottom: 24px;
}

.blog-section-title {
    margin: 0;
    color: #182234;
    font-size: clamp(1.5rem, 2vw, 2.3rem);
    font-weight: 700;
}

.blog-section-meta {
    margin: 0;
    color: #7a8798;
}

.blog-list-card {
    overflow: hidden;
    height: 100%;
}

.blog-list-media {
    display: block;
    aspect-ratio: 16 / 10;
}

.blog-pagination-wrap {
    margin-top: 12px;
}

.blog-pagination-wrap .pagination {
    justify-content: center;
    gap: 8px;
}

.blog-pagination-wrap .page-link {
    border-radius: 999px;
    border: 0;
    color: #5d6b7d;
    background: #fff;
    box-shadow: 0 8px 20px rgba(20, 34, 54, 0.08);
    padding: 10px 16px;
}

.blog-pagination-wrap .page-item.active .page-link {
    background: #23190d;
    color: #fff;
}

.blog-empty-state {
    padding: 54px 32px;
    text-align: center;
}

.blog-empty-state h2 {
    color: #182234;
    margin-bottom: 12px;
}

.article-hero-meta {
    margin-top: 20px;
    margin-bottom: 0;
}

.article-content-card {
    overflow: hidden;
}

.article-intro-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(260px, 1fr);
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(24, 34, 52, 0.08);
}

.article-intro-panel--page {
    margin-top: 4px;
}

.article-intro-label {
    margin: 0 0 10px;
    color: #6f2f98;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.article-intro-title {
    margin: 0;
    color: #182234;
    font-size: clamp(1.45rem, 2.5vw, 2.1rem);
    font-weight: 700;
    line-height: 1.2;
}

.article-intro-text {
    margin: 0;
    color: #66758a;
    line-height: 1.85;
}

.article-feature-image-wrap {
    margin: -30px -30px 26px;
    max-height: 480px;
    overflow: hidden;
}

.article-content {
    color: #44556b;
}

.prose-content > *:first-child {
    margin-top: 0;
}

.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4 {
    color: #182234;
    line-height: 1.2;
    margin: 1.6em 0 0.7em;
}

.prose-content p,
.prose-content ul,
.prose-content ol,
.prose-content blockquote {
    line-height: 1.9;
    margin-bottom: 1.15rem;
}

.prose-content ul,
.prose-content ol {
    padding-left: 1.25rem;
}

.prose-content a {
    color: #7b3fa0;
}

.prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.prose-content blockquote {
    border-left: 4px solid #a768ce;
    padding: 12px 0 12px 18px;
    color: #5a6472;
    font-size: 1.06rem;
}

.article-sidebar {
    display: grid;
    gap: 20px;
    position: sticky;
    top: 108px;
}

.article-facts-card {
    background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
}

.article-fact-list {
    display: grid;
    gap: 14px;
    margin: 0 0 18px;
}

.article-fact-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(24, 34, 52, 0.08);
}

.article-fact-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.article-fact-label {
    color: #7a8798;
    font-size: 0.9rem;
}

.author-side-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.author-avatar {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #7b3fa0 0%, #c78ae6 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 700;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-role {
    margin: 0;
    color: #7a8798;
}

.recent-post-item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: #182234;
}

.recent-post-item + .recent-post-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(24, 34, 52, 0.08);
}

.recent-post-item img {
    aspect-ratio: 1 / 1;
    border-radius: 16px;
}

.recent-post-item span {
    display: grid;
    gap: 6px;
}

.recent-post-item small {
    color: #7a8798;
}

.article-cta-card {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
}

.article-content-card--page {
    padding-top: 30px;
}

.page-related-posts {
    margin-top: 24px;
}

.blog-list-card--compact .blog-list-content {
    padding: 20px;
}

.blog-list-card--compact h3 {
    font-size: 1rem;
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .blog-featured-media {
        min-height: 300px;
    }
}

@media (max-width: 991px) {
    .blog-hero-grid,
    .blog-list-header,
    .page-related-head {
        grid-template-columns: 1fr;
        display: grid;
        align-items: start;
    }

    .article-hero-grid,
    .article-intro-panel {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
        top: auto;
    }

    .blog-section-meta {
        margin-top: 6px;
    }
}

@media (max-width: 767px) {
    .blog-hero-card,
    .article-hero-card,
    .article-hero-summary,
    .blog-featured-content,
    .blog-list-content,
    .article-content-card,
    .article-side-card,
    .page-related-posts {
        padding: 22px;
    }

    .article-hero-media {
        min-height: 240px;
    }

    .article-feature-image-wrap {
        margin: -22px -22px 20px;
    }

    .recent-post-item {
        grid-template-columns: 76px minmax(0, 1fr);
    }
}

body.portoadmin-blog-page {
    background:
        radial-gradient(circle at top left, rgba(255, 202, 188, 0.45), transparent 24%),
        radial-gradient(circle at top right, rgba(215, 196, 240, 0.52), transparent 22%),
        linear-gradient(180deg, #f7d5cc 0%, #efd9ec 52%, #eadbf0 100%);
}

.blog-directory-section,
.single-post-layout-section {
    padding: 22px 0 48px;
}

.blog-directory-grid,
.single-post-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.85fr) minmax(300px, 0.85fr);
    gap: 42px;
    align-items: start;
}

.blog-directory-main,
.single-post-main,
.blog-directory-sidebar,
.single-post-sidebar {
    min-width: 0;
}

.blog-directory-main,
.single-post-main {
    display: grid;
    gap: 22px;
}

.blog-directory-sidebar,
.single-post-sidebar {
    display: grid;
    gap: 32px;
}

.blog-panel-card,
.blog-sidebar-card {
    background: rgba(255, 247, 248, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 10px;
    box-shadow: 0 18px 45px rgba(117, 88, 122, 0.08);
}

.blog-panel-card {
    padding: 20px;
}

.blog-sidebar-card {
    padding: 22px 18px 18px;
}

.blog-crumb-panel {
    padding: 16px 20px;
}

.blog-panel-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #4f4b4f;
    font-size: 0.95rem;
}

.blog-panel-breadcrumbs a {
    color: #2c2c31;
    text-decoration: none;
}

.blog-panel-breadcrumbs a:hover {
    color: #8b4db3;
}

.blog-directory-intro {
    padding: 26px 20px 22px;
}

.blog-panel-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.blog-panel-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8457 0%, #ff996f 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.blog-panel-chip--soft {
    background: linear-gradient(135deg, #d39be8 0%, #b47ed1 100%);
}

.blog-directory-title,
.single-post-title {
    margin: 0;
    color: #2a2b33;
    font-size: clamp(2.1rem, 4.2vw, 3.25rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.blog-directory-copy,
.single-post-excerpt {
    margin: 18px 0 0;
    color: #1e3265;
    font-size: 1rem;
    line-height: 1.8;
    max-width: 760px;
}

.blog-directory-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 18px;
    color: #6a6880;
    font-size: 0.95rem;
}

.blog-feed-stack {
    display: grid;
    gap: 30px;
}

.blog-feed-card {
    display: grid;
    grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
    gap: 22px;
    padding: 20px;
}

.blog-feed-media {
    display: block;
    min-height: 250px;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    background: rgba(138, 109, 151, 0.1);
}

.blog-feed-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-feed-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.blog-feed-body h2 {
    margin: 0;
    color: #2a2b33;
    font-size: clamp(1.6rem, 2.8vw, 2.25rem);
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-feed-body h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-feed-body h2 a:hover {
    color: #8b4db3;
}

.blog-feed-excerpt {
    margin: 20px 0 0;
    color: #1d3569;
    font-size: 1rem;
    line-height: 1.8;
}

.blog-feed-meta,
.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed rgba(151, 132, 154, 0.4);
    color: #20386f;
    font-size: 0.95rem;
}

.blog-feed-meta span,
.single-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-sidebar-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(154, 144, 161, 0.25);
    margin-bottom: 18px;
}

.blog-sidebar-accent {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.blog-sidebar-accent::before,
.blog-sidebar-accent::after {
    content: "";
    position: absolute;
    border-radius: 2px;
}

.blog-sidebar-accent::before {
    left: 0;
    top: 0;
    width: 3px;
    height: 18px;
    background: #ff8457;
}

.blog-sidebar-accent::after {
    left: 0;
    top: 0;
    width: 18px;
    height: 3px;
    background: #4252ff;
}

.blog-sidebar-heading h2 {
    margin: 0;
    color: #2a2b33;
    font-size: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.blog-sidebar-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.78);
}

.blog-sidebar-search-form input {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 0;
    color: #2a2b33;
    background: transparent;
}

.blog-sidebar-search-form input:focus {
    outline: none;
}

.blog-sidebar-search-button {
    min-width: 108px;
    padding: 0 18px;
    border: 0;
    background: linear-gradient(135deg, #ff8457 0%, #ff996f 100%);
    color: #fff;
    font-weight: 700;
    transition: filter 0.18s ease;
}

.blog-sidebar-search-button:hover {
    filter: brightness(0.96);
}

.blog-sidebar-links {
    display: grid;
}

.blog-sidebar-link,
.single-post-back-link {
    color: #1f3268;
    text-decoration: none;
}

.blog-sidebar-link {
    padding: 16px 0;
    font-size: 1rem;
    line-height: 1.45;
}

.blog-sidebar-link + .blog-sidebar-link {
    border-top: 1px solid rgba(154, 144, 161, 0.22);
}

.blog-sidebar-link:hover,
.single-post-back-link:hover {
    color: #8b4db3;
}

.blog-sidebar-empty {
    margin: 0;
    color: #6a6880;
    line-height: 1.7;
}

.blog-empty-panel h2 {
    margin: 0;
    color: #2a2b33;
    font-size: 1.6rem;
}

.blog-empty-panel p {
    margin: 14px 0 0;
    color: #5d6275;
    line-height: 1.8;
}

.single-post-card {
    padding: 24px 18px 28px;
}

.single-post-head {
    padding: 0 18px 16px;
}

.single-post-feature-media {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(138, 109, 151, 0.1);
}

.single-post-feature-image {
    display: block;
    width: 100%;
    height: auto;
}

.single-post-content {
    padding: 26px 18px 0;
    color: #2c3550;
}

.single-post-author-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-top: 28px;
    padding: 22px 18px 0;
    border-top: 1px solid rgba(154, 144, 161, 0.22);
}

.single-post-author-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #a56eca 0%, #c895e2 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.single-post-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-author-copy {
    min-width: 0;
}

.single-post-author-label {
    margin: 0 0 6px;
    color: #8b4db3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.single-post-author-copy h2 {
    margin: 0;
    color: #2a2b33;
    font-size: 1.2rem;
    font-weight: 800;
}

.single-post-author-copy p {
    margin: 8px 0 0;
    color: #5d6275;
    line-height: 1.7;
}

.single-post-back-link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 700;
}

.blog-pagination-wrap {
    margin-top: 6px;
}

.blog-pagination-wrap .pagination {
    justify-content: flex-start;
}

.blog-pagination-wrap .page-link {
    background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1199px) {
    .blog-directory-grid,
    .single-post-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 991px) {
    .blog-feed-card {
        grid-template-columns: 1fr;
    }

    .blog-feed-media {
        min-height: 220px;
    }

    .single-post-author-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .single-post-author-row .blog-secondary-link {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

@media (max-width: 767px) {
    .blog-directory-section,
    .single-post-layout-section {
        padding-top: 16px;
    }

    .blog-panel-card,
    .blog-sidebar-card,
    .blog-feed-card,
    .single-post-card {
        padding-left: 16px;
        padding-right: 16px;
    }

    .blog-directory-title,
    .single-post-title {
        font-size: 2rem;
    }

    .blog-sidebar-heading h2 {
        font-size: 1.6rem;
    }

    .blog-sidebar-search-form {
        grid-template-columns: 1fr;
        gap: 10px;
        background: transparent;
        overflow: visible;
    }

    .blog-sidebar-search-form input {
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.84);
    }

    .blog-sidebar-search-button {
        min-height: 50px;
        border-radius: 8px;
    }

    .single-post-head,
    .single-post-content,
    .single-post-author-row {
        padding-left: 0;
        padding-right: 0;
    }
}