/* Public blog — matches live blog.vyayatatech.com style + Vyayata brand */

.blog-listing-page,
.blog-article-page {
    background: #fff;
    padding: 2rem 0 3.5rem;
}

.blog-listing-page__title,
.blog-article__title {
    font-weight: 700;
    color: #111;
    letter-spacing: -0.02em;
}

.blog-listing-page__title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin: 0 0 0.75rem;
}

.blog-listing-page__lead {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.blog-article__breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.9rem;
    color: #6b6b6b;
}

.blog-article__breadcrumbs a {
    color: #6b6b6b;
    text-decoration: none;
}

.blog-article__breadcrumbs a:hover {
    color: var(--vt-orange, #ff7000);
}

.blog-article__crumb-current {
    color: #8a8a8a;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-article__header {
    margin-bottom: 1.5rem;
}

.blog-article__title {
    font-size: clamp(1.75rem, 3.6vw, 2.35rem);
    line-height: 1.25;
    margin: 0 0 0.75rem;
}

.blog-article__meta {
    margin: 0;
    color: #6b6b6b;
    font-size: 0.95rem;
}

.blog-article__author {
    color: var(--vt-orange, #ff7000);
    font-weight: 600;
}

.blog-article__meta-sep {
    margin: 0 0.35rem;
}

.blog-article__cover {
    margin: 0 0 1.75rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff5eb;
}

.blog-article__cover img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
}

.blog-article__content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1a1a1a;
}

.blog-article__content > *:first-child {
    margin-top: 0;
}

.blog-article__content h1,
.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4 {
    font-weight: 700;
    line-height: 1.3;
    margin: 2rem 0 0.85rem;
}

.blog-article__content h1,
.blog-article__content h2 {
    color: var(--vt-orange, #ff7000);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.blog-article__content h3 {
    color: #111;
    font-size: 1.2rem;
}

.blog-article__content p {
    margin-bottom: 1.15rem;
}

.blog-article__content ul,
.blog-article__content ol {
    margin: 0 0 1.25rem;
    padding-left: 1.35rem;
}

.blog-article__content li {
    margin-bottom: 0.45rem;
}

.blog-article__content a {
    color: var(--vt-orange, #ff7000);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-article__content strong {
    font-weight: 700;
}

.blog-article__content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.blog-article__footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-article__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--vt-orange, #ff7000);
    text-decoration: none;
}

.blog-article__back:hover {
    color: var(--vt-orange-hover, #e65f00);
}

/* Listing */
.blog-list-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.25rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-list-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.blog-list-item__media {
    display: block;
    border-radius: 0.65rem;
    overflow: hidden;
    background: #fff5eb;
    aspect-ratio: 8 / 5;
}

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

.blog-list-item__meta {
    margin: 0 0 0.4rem;
    font-size: 0.875rem;
    color: #6b6b6b;
}

.blog-list-item__title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.blog-list-item__title a {
    color: #111;
    text-decoration: none;
}

.blog-list-item__title a:hover {
    color: var(--vt-orange, #ff7000);
}

.blog-list-item__excerpt {
    margin: 0 0 0.75rem;
    color: #5c5c5c;
    font-size: 0.98rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-list-item__more {
    font-weight: 600;
    color: var(--vt-orange, #ff7000);
    text-decoration: none;
}

.blog-list-item__more:hover {
    color: var(--vt-orange-hover, #e65f00);
}

.blog-pagination .page-link {
    color: #1a1a1a;
    border-radius: 0.5rem;
    margin-right: 0.25rem;
}

.blog-pagination .page-item.active .page-link {
    background: var(--vt-orange, #ff7000);
    border-color: var(--vt-orange, #ff7000);
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 6rem;
}

.blog-widget {
    margin-bottom: 2rem;
}

.blog-widget__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.85rem;
}

.blog-search {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.blog-search__input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d9d9d9;
    border-right: 0;
    border-radius: 0.35rem 0 0 0.35rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
}

.blog-search__input:focus {
    outline: none;
    border-color: var(--vt-orange, #ff7000);
    box-shadow: 0 0 0 3px rgba(255, 112, 0, 0.15);
}

.blog-search__btn {
    width: 3rem;
    border: 0;
    background: var(--vt-orange, #ff7000);
    color: #fff;
    border-radius: 0 0.35rem 0.35rem 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.blog-search__btn:hover {
    background: var(--vt-orange-hover, #e65f00);
}

.blog-recent-list li + li {
    margin-top: 0.7rem;
}

.blog-recent-list a {
    color: var(--vt-orange, #ff7000);
    text-decoration: none;
    font-weight: 500;
    line-height: 1.4;
    display: inline-block;
}

.blog-recent-list a:hover {
    text-decoration: underline;
    color: var(--vt-orange-hover, #e65f00);
}

.blog-cta-card {
    background: #111;
    color: #fff;
    border-radius: 0.85rem;
    padding: 1.35rem 1.25rem 1.25rem;
}

.blog-cta-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vt-orange, #ff7000);
}

.blog-cta-card__body {
    margin: 0 0 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.95rem;
    line-height: 1.5;
}

.blog-cta-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.65rem;
}

.blog-cta-card__btn--whatsapp {
    background: var(--vt-orange, #ff7000);
    color: #fff;
}

.blog-cta-card__btn--whatsapp:hover {
    background: var(--vt-orange-hover, #e65f00);
    color: #fff;
}

.blog-cta-card__btn--demo {
    background: transparent;
    color: #fff;
    border: 1px solid var(--vt-orange, #ff7000);
}

.blog-cta-card__btn--demo:hover {
    background: rgba(255, 112, 0, 0.12);
    color: #fff;
}

.blog-cta-card__phone {
    display: block;
    text-align: center;
    margin-top: 0.35rem;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.blog-cta-card__phone:hover {
    color: var(--vt-peach, #ffd5aa);
}

@media (max-width: 991.98px) {
    .blog-sidebar {
        position: static;
        margin-top: 1rem;
    }

    .blog-list-item {
        grid-template-columns: 1fr;
    }

    .blog-list-item__media {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .blog-listing-page,
    .blog-article-page {
        padding-top: 1.25rem;
        padding-bottom: 2.5rem;
    }

    .blog-article__crumb-current {
        white-space: normal;
    }
}
