/* RandomNames blog styles */
.blog-breadcrumb {
        padding-bottom: 1rem;
    }

    .blog-breadcrumb nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: #6c757d;
    }

    .blog-breadcrumb a {
        color: #1e70b9;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .blog-breadcrumb a:hover {
        color: #0c5595;
        text-decoration: underline;
    }

    .blog-breadcrumb span[aria-current="page"] {
        color: #212529;
        font-weight: 500;
    }

/* RandomNames blog styles — aligned with site design system */
    .blog-list-hero {
        padding: 40px 20px;
        text-align: center;
        background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
        margin-bottom: 2rem;
        border-radius: 12px;
        border: 1px solid #e3e7ed;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .blog-list-hero h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #000;
    }

    .blog-list-hero p {
        font-size: 1.125rem;
        color: #505050;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.7;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .blog-card {
        background-color: #fff;
        border: 1px solid #e3e7ed;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        display: block;
        position: relative;
        cursor: pointer;
    }

    .blog-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1e70b9, #ea5050);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .blog-card:hover::before {
        opacity: 1;
    }

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, .3);
        border-color: #1e70b9;
    }

    .blog-card-image-wrapper {
        width: 100%;
        height: 200px;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(30, 112, 185, 0.1) 0%, rgba(234, 80, 80, 0.1) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .blog-card-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .blog-card:hover .blog-card-image {
        transform: scale(1.05);
    }

    .blog-card-placeholder {
        font-size: 3rem;
        color: #1e70b9;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: #000;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-excerpt {
        color: #505050;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .blog-card-meta {
        display: flex;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e3e7ed;
        font-size: 0.8rem;
        color: #6c757d;
    }

    .blog-card-meta-item {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .blog-card-meta-item svg {
        width: 16px;
        height: 16px;
    }

    .no-blogs-placeholder {
        text-align: center;
        padding: 4rem 2rem;
        background-color: #f6f8fa;
        border: 1px solid #e3e7ed;
        border-radius: 12px;
        margin: 2rem 0;
    }

    .no-blogs-icon {
        font-size: 4rem;
        color: #afafaf;
        margin-bottom: 1.5rem;
        opacity: 0.5;
    }

    .no-blogs-title {
        font-size: 1.75rem;
        font-weight: 600;
        margin-bottom: 1rem;
        color: #000;
    }

    .no-blogs-description {
        color: #505050;
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .blog-cta-section {
        margin-top: 2rem;
        padding: 0;
        background: transparent;
        border: none;
    }

    .blog-cta-section.rn-cta .blog-cta-title {
        color: #fff;
        font-size: 1.5rem;
    }

    .blog-cta-section.rn-cta .blog-cta-description {
        color: rgba(255, 255, 255, 0.9);
    }

    .blog-cta-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;
    }

    .blog-cta-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: #000;
    }

    .blog-cta-description {
        font-size: 1.125rem;
        color: #505050;
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .blog-cta-button {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: linear-gradient(135deg, #1e70b9, #0c5595);
        color: white;
        padding: 1rem 2rem;
        border-radius: 12px;
        text-decoration: none;
        font-weight: 600;
        font-size: 1.125rem;
        transition: all 0.3s ease;
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
    }

    .blog-cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, .3);
        color: white;
    }

    .blog-cta-button svg {
        width: 20px;
        height: 20px;
    }

    @media (max-width: 1024px) {
        .blog-grid {
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        }

        .blog-list-hero h1 {
            font-size: 2rem;
        }
    }

    @media (max-width: 768px) {
        .blog-list-hero {
            padding: 30px 20px;
        }

        .blog-list-hero h1 {
            font-size: 1.75rem;
        }

        .blog-list-hero p {
            font-size: 1rem;
        }

        .blog-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }

        .blog-card-image-wrapper {
            height: 180px;
        }

        .no-blogs-placeholder {
            padding: 3rem 1.5rem;
        }

        .blog-cta-section {
            padding: 40px 20px;
        }

        .blog-cta-title {
            font-size: 1.5rem;
        }

        .blog-cta-button {
            width: 100%;
            justify-content: center;
        }
    }

    @media (max-width: 480px) {
        .blog-list-hero h1 {
            font-size: 1.5rem;
        }

        .blog-card-content {
            padding: 1.25rem;
        }
    }

/* --- detail page --- */

.blog-breadcrumb {
        margin-bottom: 1rem;
    }

    .blog-breadcrumb nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: #6c757d;
    }

    .blog-breadcrumb a {
        color: #1e70b9;
        text-decoration: none;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
    }

    .blog-breadcrumb a:hover {
        color: #0c5595;
        text-decoration: underline;
    }

    .blog-breadcrumb span[aria-current="page"] {
        color: #212529;
        font-weight: 500;
    }

    .blog-detail-hero {
        padding: 40px 20px;
        text-align: center;
        background: linear-gradient(135deg, rgba(30, 112, 185, 0.05) 0%, rgba(234, 80, 80, 0.05) 100%);
        margin-bottom: 2rem;
        border-radius: 12px;
        border: 1px solid #e3e7ed;
    }

    .back-to-list-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background-color: #fff;
        color: #1e70b9;
        border: 2px solid #1e70b9;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-bottom: 2rem;
    }

    .back-to-list-btn:hover {
        background: linear-gradient(135deg, #1e70b9, #0c5595);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
    }

    .blog-detail-title {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: #000;
        line-height: 1.3;
    }

    .blog-detail-meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        flex-wrap: wrap;
        margin-bottom: 2rem;
        font-size: 0.9rem;
        color: #6c757d;
    }

    .blog-detail-meta-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .blog-detail-meta-item svg {
        width: 18px;
        height: 18px;
    }

    .blog-detail-featured-image {
        width: 100%;
        max-width: 900px;
        height: auto;
        max-height: 500px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
        margin: 2rem auto;
        display: block;
    }

    .blog-detail-content {
        max-width: 1024px;
        margin: 0 auto;
        padding: 2rem;
        background-color: #fff;
        border: 1px solid #e3e7ed;
        border-radius: 12px;
        margin-bottom: 3rem;
    }

    .blog-detail-content h1,
    .blog-detail-content h2,
    .blog-detail-content h3,
    .blog-detail-content h4 {
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-weight: 600;
        color: #000;
        line-height: 1.3;
    }

    .blog-detail-content h1 { font-size: 2rem; }
    .blog-detail-content h2 { font-size: 1.75rem; }
    .blog-detail-content h3 { font-size: 1.5rem; }
    .blog-detail-content h4 { font-size: 1.25rem; }

    .blog-detail-content p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
        color: #505050;
    }

    .blog-detail-content ul,
    .blog-detail-content ol {
        margin: 1.5rem 0;
        padding-left: 2rem;
    }

    .blog-detail-content li {
        margin-bottom: 0.75rem;
    }

    .blog-detail-content a {
        color: #1e70b9;
        text-decoration: none;
        transition: all 0.3s ease;
        border-bottom: 2px solid transparent;
    }

    .blog-detail-content a:hover {
        border-bottom-color: #1e70b9;
        color: #0c5595;
    }

    .blog-detail-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        margin: 2rem 0;
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
    }

    .blog-detail-content pre {
        background: #f6f8fa;
        padding: 1.5rem;
        border-radius: 8px;
        overflow-x: auto;
        margin: 1.5rem 0;
        border-left: 4px solid #1e70b9;
    }

    .blog-detail-content code {
        background: #f6f8fa;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
        font-family: 'Courier New', monospace;
        font-size: 0.9em;
        color: #1e70b9;
    }

    .blog-detail-content blockquote {
        border-left: 4px solid #1e70b9;
        padding-left: 1.5rem;
        margin: 1.5rem 0;
        font-style: italic;
        color: #505050;
        background: #f6f8fa;
        padding: 1.5rem;
        border-radius: 8px;
    }

    .blog-detail-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
        border: 1px solid #e3e7ed;
        border-radius: 8px;
        overflow: hidden;
    }

    .blog-detail-content th {
        background: linear-gradient(135deg, #1e70b9, #0c5595);
        color: white;
        padding: 1rem;
        text-align: left;
        font-weight: 600;
    }

    .blog-detail-content td {
        padding: 1rem;
        border-bottom: 1px solid #e3e7ed;
    }

    .blog-detail-content tr:nth-child(even) {
        background-color: #f6f8fa;
    }

    .blog-detail-author {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem;
        background: linear-gradient(135deg, rgba(30, 112, 185, 0.05) 0%, rgba(234, 80, 80, 0.05) 100%);
        border-radius: 12px;
        margin: 3rem 0;
        border: 1px solid #e3e7ed;
    }

    .blog-detail-author-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1e70b9, #0c5595);
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        flex-shrink: 0;
    }

    .blog-detail-author-info h4 {
        margin: 0 0 0.5rem 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #000;
    }

    .blog-detail-author-info p {
        margin: 0;
        font-size: 0.9rem;
        color: #505050;
    }

    .blog-detail-tags {
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin: 2rem 0;
        padding-top: 1.5rem;
        border-top: 1px solid #e3e7ed;
    }

    .blog-tag {
        background-color: rgba(30, 112, 185, 0.1);
        color: #1e70b9;
        padding: 0.5rem 1rem;
        border-radius: 50px;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 500;
        border: 2px solid #1e70b9;
        transition: all 0.3s ease;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

    .blog-tag:hover {
        background: linear-gradient(135deg, #1e70b9, #0c5595);
        color: white;
        border-color: transparent;
        transform: translateY(-2px);
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
    }

    .blog-tag svg {
        width: 14px;
        height: 14px;
    }

    .blog-share-section {
        padding: 2rem;
        background: linear-gradient(135deg, rgba(30, 112, 185, 0.05) 0%, rgba(234, 80, 80, 0.05) 100%);
        border-radius: 12px;
        margin: 3rem 0;
        text-align: center;
        border: 1px solid #e3e7ed;
    }

    .blog-share-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
        color: #000;
    }

    .blog-share-buttons {
        display: flex;
        gap: 0.75rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .blog-share-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        text-decoration: none;
        transition: all 0.3s ease;
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
        border: none;
        cursor: pointer;
    }

    .blog-share-btn:hover {
        transform: translateY(-3px) scale(1.1);
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, .3);
    }

    .blog-share-btn svg {
        width: 20px;
        height: 20px;
    }

    .share-twitter { background: #1DA1F2; }
    .share-facebook { background: #4267B2; }
    .share-linkedin { background: #0077B5; }
    .share-whatsapp { background: #25D366; }
    .share-copy { background: linear-gradient(135deg, #1e70b9, #0c5595); }

    .related-posts {
        margin: 3rem 0;
        padding-top: 3rem;
        border-top: 1px solid #e3e7ed;
    }

    .related-posts-title {
        font-size: 1.75rem;
        font-weight: 700;
        margin-bottom: 2rem;
        color: #000;
        text-align: center;
    }

    .related-posts-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .related-post-card {
        background-color: #fff;
        border: 1px solid #e3e7ed;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .2);
        transition: all 0.3s ease;
        text-decoration: none;
        color: inherit;
        display: block;
        position: relative;
        cursor: pointer;
    }

    .related-post-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #1e70b9, #ea5050);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .related-post-card:hover::before {
        opacity: 1;
    }

    .related-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 5px 5px 15px 0 rgba(0, 0, 0, .3);
        border-color: #1e70b9;
    }

    .related-post-image-wrapper {
        width: 100%;
        height: 180px;
        overflow: hidden;
        background: linear-gradient(135deg, rgba(30, 112, 185, 0.1) 0%, rgba(234, 80, 80, 0.1) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .related-post-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .related-post-card:hover .related-post-image {
        transform: scale(1.05);
    }

    .related-post-placeholder {
        font-size: 2.5rem;
        color: #1e70b9;
    }

    .related-post-content {
        padding: 1.5rem;
    }

    .related-post-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
        color: #000;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-post-excerpt {
        font-size: 0.875rem;
        color: #505050;
        line-height: 1.5;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .related-post-meta {
        display: flex;
        gap: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #e3e7ed;
        font-size: 0.75rem;
        color: #6c757d;
    }

    .related-post-meta-item {
        display: flex;
        align-items: center;
        gap: 0.35rem;
    }

    .related-post-meta-item svg {
        width: 14px;
        height: 14px;
    }

    @media (max-width: 768px) {
        .blog-detail-hero {
            padding: 30px 20px;
        }

        .blog-detail-title {
            font-size: 1.75rem;
        }

        .blog-detail-content {
            padding: 1.5rem;
        }

        .blog-detail-content h1 {
            font-size: 1.75rem;
        }

        .blog-detail-content h2 {
            font-size: 1.5rem;
        }

        .related-posts-grid {
            grid-template-columns: 1fr;
        }

        .related-posts-title {
            font-size: 1.5rem;
        }

        .blog-detail-author {
            flex-direction: column;
            text-align: center;
        }

        .blog-share-buttons {
            gap: 0.5rem;
        }
    }

    @media (max-width: 480px) {
        .blog-detail-title {
            font-size: 1.5rem;
        }

        .blog-detail-meta {
            flex-direction: column;
            gap: 0.5rem;
        }
    }
