/* Wrapper Reset */
.mazoriya-blog-container-warpper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.mazoriya-blog-container-warpper {
    font-family: "onest", sans-serif;
    background: #f5f7fb;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: -50px;
}

.mazoriya-blog-container {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
    padding: 6rem 1.5rem 1.5rem;
}

/* LEFT CONTENT CARD */
.mazoriya-blog-content {
    background: #fff;
    padding: 2rem 2.25rem;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.mazoriya-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.mazoriya-back {
    color: #4b5563 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
    text-decoration: none;
}

.mazoriya-back:hover {
    color: #1f2937 !important;
}

.mazoriya-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #4b5563;
    align-items: center;
    background: #f9fafb;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-weight: 500;
}

.mazoriya-tag {
    background: #e0e7ff;
    color: #4338ca;
    padding: 0.25rem 0.9rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
}

.mazoriya-separator {
    color: #d1d5db;
}

.mazoriya-post-title {
    font-size: 2.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.8rem;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    color: #111827 !important;
}

.mazoriya-author-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.mazoriya-author {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.mazoriya-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1e3a8a;
    background: linear-gradient(145deg, #fcd34d, #f59e0b);
    box-shadow: 0 6px 12px rgba(251, 191, 36, 0.25);
    flex-shrink: 0;
}

.mazoriya-author-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.mazoriya-author-info {
    display: flex;
    flex-direction: column;
}

.mazoriya-author-info strong {
    font-size: 1rem;
    color: #1f2937;
}

.mazoriya-author-info p {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

.mazoriya-share {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #f3f4f6;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
}

.mazoriya-share a {
    color: #4b5563;
    font-size: 1rem;
    transition: color 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mazoriya-share a:hover {
    color: #2563eb;
}

.mazoriya-share button {
    background: #2563eb;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.2s;
    margin-left: 0.3rem;
}

.mazoriya-share button:hover {
    background: #1d4ed8;
}

.mazoriya-blog-featured {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 2rem;
    object-fit: cover;
    aspect-ratio: 16/9;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.mazoriya-post-content {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

.mazoriya-post-content h2,
.mazoriya-post-content h3 {
    margin: 1.5rem 0 0.7rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.mazoriya-post-content p {
    margin-bottom: 0.8rem;
}

.mazoriya-post-content ul,
.mazoriya-post-content ol {
    margin-top: 0.7rem;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.mazoriya-post-content li {
    margin-bottom: 0.7rem;
    color: #374151;
    font-size: 0.95rem;
}

.mazoriya-content-logo {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

.mazoriya-logo-bottom {
    height: 2rem;
    width: auto;
    opacity: 0.7;
}

/* SIDEBAR */
.mazoriya-sidebar {
    position: relative;
}

.mazoriya-cta-card {
    background: linear-gradient(145deg, #2563eb, #1e40af);
    color: white;
    padding: 2.2rem 1.8rem;
    border-radius: 24px;
    position: sticky;
    top: 6rem;
    box-shadow: 0 20px 30px rgba(37, 99, 235, 0.3);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

.mazoriya-cta-card::before {
    content: "";
    position: absolute;
    top: -112px;
    right: -152px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    z-index: 0;
}

.mazoriya-cta-small {
    font-size: 0.8rem !important;
    opacity: 0.8;
    margin-bottom: 20px;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.mazoriya-cta-card h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: white !important;
}

.mazoriya-cta-card p {
    font-size: 0.95rem;
    margin-bottom: 20px !important;
    color: #e2e8f0 !important;
    line-height: 1.6 !important;
    opacity: 0.9;
}

.mazoriya-cta-button {
    background: white;
    color: #1e3a8a;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.25s;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.mazoriya-cta-button svg {
    font-size: 0.9rem;
    transition: transform 0.2s;
}

.mazoriya-cta-button:hover {
    background: #f0f9ff;
    box-shadow: 0 10px 18px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    color: #1e3a8a;
}

.mazoriya-cta-button:hover svg {
    transform: translateX(4px);
}

/* Related Posts Section */
.mazoriya-related-posts {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1.5rem 3rem;
}

.mazoriya-related-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

.mazoriya-related-posts .mazoriya-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

/* Blog Cards (Transparent with dark text) */
#blog-single-page {
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: none;
}

.mazoriya-card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-radius: 20px;
}

.mazoriya-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mazoriya-blog-card:hover .mazoriya-card-image-wrapper img {
    transform: scale(1.05);
}

#blog-single-page .mazoriya-card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.mazoriya-card-content {
    padding: 24px 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mazoriya-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.mazoriya-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mazoriya-read-time::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #64748b;
    border-radius: 50%;
    display: block;
}

#blog-single-page h3 {
    font-size: 22px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin-bottom: 12px;
    color: #1e293b !important;
    letter-spacing: -0.3px !important;
    display: inline;
    background-image: linear-gradient(#1e293b, #1e293b);
    background-size: 0% 2px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.3s ease;
}

#blog-single-page:hover h3 {
    background-size: 100% 2px;
}

.mazoriya-blog-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mazoriya-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 41, 59, 0.15);
}
.mazoriya-card-footer svg{
    color: #1e293b !important;
}

.mazoriya-card-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mazoriya-card-author img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(30, 41, 59, 0.15);
    transition: border-color 0.2s ease;
    object-fit: cover;
}

.mazoriya-blog-card:hover .mazoriya-card-author img {
    border-color: rgba(30, 41, 59, 0.4);
}

.mazoriya-author-name {
    font-weight: 600;
    font-size: 14px;
    color: #1e293b;
    line-height: 1.3;
}

.mazoriya-author-role {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

.mazoriya-read-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.06);
    color: #1e293b;
    transition: all 0.3s ease;
    font-size: 18px;
    border: 1px solid rgba(30, 41, 59, 0.15);
    text-decoration: none;
}

#blog-single-page:hover .mazoriya-read-more {
    background: rgba(30, 41, 59, 0.12) !important;
    border-color: rgba(30, 41, 59, 0.3) !important;
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 850px) {
    .mazoriya-blog-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-top: 5rem;
    }

    .mazoriya-blog-content {
        padding: 1.8rem;
    }

    .mazoriya-post-title {
        font-size: 2rem !important;
    }
    
    .mazoriya-related-posts .mazoriya-blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mazoriya-related-posts .mazoriya-blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mazoriya-blog-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 500px) {
    .mazoriya-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .mazoriya-meta {
        font-size: 0.75rem;
    }
    
    .mazoriya-blog-container {
        padding: 4.5rem 1rem 1rem;
    }
}