/* Blog Featured Feed layout (Oenzy-style) */

/* Home blog section */
.home-blog-feed {
    background: #f7f8fa;
}

.home-blog-feed__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.home-blog-feed__eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-color1);
}

.home-blog-feed__header h2 {
    color: var(--theme-color2);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.home-blog-feed__header p {
    color: #64748b;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.home-blog-feed__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(1, 20, 37, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(1, 20, 37, 0.08);
}

.home-blog-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--theme-color2);
}

.home-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-blog-card:hover .home-blog-card__media img {
    transform: scale(1.04);
}

.home-blog-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem 1.35rem 1.35rem;
}

.home-blog-card__title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0.4rem 0 0.55rem;
}

.home-blog-card__title a {
    color: var(--theme-color2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-blog-card__title a:hover {
    color: var(--theme-color1);
}

.home-blog-card__excerpt {
    flex: 1;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0 0 0.85rem;
}

.home-blog-card .blog-feed-author {
    margin-top: auto;
}

.home-blog-feed__cta {
    text-align: center;
    margin-top: 2rem;
}

.page-title--compact {
    padding: 70px 0 55px;
}

.blog-feed-page {
    background: #f7f8fa;
}

.blog-feed-search-banner {
    margin-bottom: 1.75rem;
    padding: 0.95rem 1.2rem;
    background: #fff;
    border: 1px solid #e5eaf0;
    border-left: 4px solid var(--theme-color1);
    border-radius: 12px;
    color: #475569;
}

.blog-feed-search-banner__link {
    margin-left: 0.5rem;
    color: var(--theme-color1);
    font-weight: 600;
    text-decoration: none;
}

.blog-feed-search-banner__link:hover {
    text-decoration: underline;
}

.blog-feed-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
}

.blog-feed-layout--two-cols {
    grid-template-columns: minmax(0, 1fr) 300px;
}

.blog-feed-layout__right {
    position: sticky;
    top: 6.5rem;
}

.blog-feed-widget {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 24px rgba(1, 20, 37, 0.04);
}

.blog-feed-widget__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.blog-feed-widget__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--theme-color2);
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.blog-feed-search {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.blog-feed-search input[type="search"] {
    width: 100%;
    border: 1px solid #dbe3ee;
    border-radius: 10px;
    min-height: 44px;
    padding: 0 0.9rem;
    font-size: 0.92rem;
    color: var(--theme-color2);
    background: #f8fafc;
}

.blog-feed-search input[type="search"]:focus {
    outline: none;
    border-color: var(--theme-color1);
    box-shadow: 0 0 0 3px rgba(203, 147, 93, 0.15);
}

.blog-feed-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 10px;
    min-height: 42px;
    padding: 0 1rem;
    background: var(--theme-color2);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.blog-feed-search button:hover {
    background: var(--theme-color1);
}

.blog-feed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.blog-feed-tags__item {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.blog-feed-tags__item:hover {
    border-color: var(--theme-color1);
    color: var(--theme-color1);
    background: #fff;
}

.blog-feed-trending__item {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
}

.blog-feed-trending__item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.blog-feed-trending__thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

.blog-feed-trending__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-feed-trending__thumb:hover img {
    transform: scale(1.06);
}

.blog-feed-trending__title {
    font-size: 0.88rem;
    line-height: 1.4;
    margin: 0.25rem 0 0;
}

.blog-feed-trending__title a {
    color: var(--theme-color2);
    text-decoration: none;
}

.blog-feed-trending__title a:hover {
    color: var(--theme-color1);
}

.blog-feed-cat {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--theme-color1);
}

.blog-feed-main-header {
    margin-bottom: 1.75rem;
}

.blog-feed-main-header h2 {
    color: var(--theme-color2);
    font-size: clamp(1.6rem, 2.5vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 0.5rem;
}

.blog-feed-main-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    max-width: 640px;
}

.blog-feed-main-header__meta {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #94a3b8;
}

.blog-feed-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(1, 20, 37, 0.05);
}

.blog-feed-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.35rem;
    padding: 1.35rem;
    border-bottom: 1px solid #eef2f7;
    transition: background 0.2s ease;
}

.blog-feed-item:last-child {
    border-bottom: none;
}

.blog-feed-item:hover {
    background: #fafbfc;
}

.blog-feed-item__media {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--theme-color2);
}

.blog-feed-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-feed-item:hover .blog-feed-item__media img {
    transform: scale(1.04);
}

.blog-feed-item__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.blog-feed-item__title {
    font-size: 1.2rem;
    line-height: 1.35;
    margin: 0.4rem 0 0.55rem;
}

.blog-feed-item__title a {
    color: var(--theme-color2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-feed-item__title a:hover {
    color: var(--theme-color1);
}

.blog-feed-item__excerpt {
    flex: 1;
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.7;
    margin: 0 0 0.85rem;
}

.blog-feed-author {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    margin-top: auto;
    font-size: 0.82rem;
    color: #94a3b8;
}

.blog-feed-author__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(203, 147, 93, 0.15);
    color: var(--theme-color1);
    font-size: 1rem;
}

.blog-feed-author__name {
    font-weight: 600;
    color: var(--theme-color2);
}

.blog-feed-author__date::before {
    content: "·";
    margin-right: 0.65rem;
    color: #cbd5e1;
}

.blog-feed-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed #d4dce8;
    border-radius: 18px;
}

.blog-feed-empty i {
    font-size: 2rem;
    color: var(--theme-color1);
    margin-bottom: 0.75rem;
}

.blog-feed-empty h3 {
    color: var(--theme-color2);
    margin-bottom: 0.35rem;
}

.blog-feed-empty p {
    color: #64748b;
}

/* Right column */
.blog-feed-hero {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 16 / 10;
    box-shadow: 0 10px 30px rgba(1, 20, 37, 0.12);
}

.blog-feed-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-feed-hero:hover img {
    transform: scale(1.04);
}

.blog-feed-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(1, 20, 37, 0.85) 100%);
}

.blog-feed-hero__caption {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    z-index: 1;
}

.blog-feed-hero__caption strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.blog-feed-widget--featured {
    padding: 0.85rem;
}

.blog-feed-featured {
    padding: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
}

.blog-feed-featured:last-child {
    border-bottom: none;
}

.blog-feed-featured__thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    margin-bottom: 0.75rem;
}

.blog-feed-featured__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-feed-featured__thumb:hover img {
    transform: scale(1.04);
}

.blog-feed-featured__title {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0.3rem 0 0.45rem;
}

.blog-feed-featured__title a {
    color: var(--theme-color2);
    text-decoration: none;
}

.blog-feed-featured__title a:hover {
    color: var(--theme-color1);
}

.blog-feed-featured__excerpt {
    font-size: 0.82rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 0.65rem;
}

.blog-feed-profile {
    text-align: center;
}

.blog-feed-profile__logo {
    width: 72px;
    height: auto;
    margin-bottom: 0.85rem;
}

.blog-feed-profile h3 {
    font-size: 1rem;
    color: var(--theme-color2);
    margin-bottom: 0.5rem;
}

.blog-feed-profile p {
    font-size: 0.86rem;
    line-height: 1.65;
    color: #64748b;
    margin-bottom: 1rem;
}

.blog-feed-profile__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    background: var(--theme-color1);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease;
}

.blog-feed-profile__cta:hover {
    background: var(--theme-color2);
    color: #fff;
}

/* Pagination */
.blog-pagination {
    margin-top: 2rem;
}

.blog-pagination .pagination {
    gap: 0.35rem;
}

.blog-pagination .page-link {
    border: 1px solid #dbe3ee;
    color: var(--theme-color2);
    border-radius: 8px !important;
    min-width: 2.5rem;
    text-align: center;
    padding: 0.5rem 0.75rem;
    background: #fff;
}

.blog-pagination .page-item.active .page-link {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: #fff;
}

.blog-pagination .page-link:hover {
    background: #f1f5f9;
    color: var(--theme-color1);
}

/* Article detail page */
.blog-feed-page--article {
    background: #f7f8fa;
}

.blog-article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--theme-color2);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-article-back:hover {
    color: var(--theme-color1);
}

.blog-article {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 36px rgba(1, 20, 37, 0.07);
}

.blog-article__hero {
    margin: 0;
    aspect-ratio: 16 / 8;
    overflow: hidden;
    background: var(--theme-color2);
}

.blog-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article__body {
    padding: 2rem 2.25rem 2.25rem;
}

.blog-article__title {
    color: var(--theme-color2);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.25;
    margin: 0.5rem 0 1rem;
}

.blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid #eef2f7;
}

.blog-article__views {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.blog-article__views i {
    color: var(--theme-color1);
}

.blog-article__lead {
    font-size: 1.12rem;
    line-height: 1.75;
    color: #475569;
    border-left: 4px solid var(--theme-color1);
    padding: 0.65rem 0 0.65rem 1.25rem;
    margin-bottom: 1.75rem;
    background: linear-gradient(90deg, rgba(203, 147, 93, 0.07) 0%, transparent 100%);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.blog-article__content {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #334155;
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.blog-article__content p {
    margin-bottom: 1rem;
    text-align: justify;
}

.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4 {
    color: var(--theme-color2);
    margin: 1.5rem 0 0.75rem;
    line-height: 1.3;
}

.blog-article__content h2 { font-size: 1.5rem; }
.blog-article__content h3 { font-size: 1.25rem; }
.blog-article__content h4 { font-size: 1.1rem; }

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

.blog-article__content li {
    margin-bottom: 0.35rem;
    text-align: justify;
}

.blog-article__content a {
    color: var(--theme-color1);
    text-decoration: underline;
}

.blog-article__content blockquote {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--theme-color1);
    background: rgba(203, 147, 93, 0.08);
    color: #475569;
    text-align: justify;
}

.blog-article__footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eef2f7;
}

.blog-article__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1rem;
    margin-bottom: 1.25rem;
}

.blog-article__share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--theme-color2);
    letter-spacing: 0.02em;
}

.blog-article__share .share-buttons {
    margin-left: auto;
}

.blog-article__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-article__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.blog-article__btn--outline {
    border: 1px solid #dbe3ee;
    background: #fff;
    color: var(--theme-color2);
}

.blog-article__btn--outline:hover {
    border-color: var(--theme-color1);
    color: var(--theme-color1);
}

.blog-article__btn--primary {
    border: 1px solid var(--theme-color1);
    background: var(--theme-color1);
    color: #fff;
}

.blog-article__btn--primary:hover {
    background: var(--theme-color2);
    border-color: var(--theme-color2);
    color: #fff;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .blog-feed-layout--two-cols {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 1.5rem;
    }

    .blog-feed-item {
        grid-template-columns: 180px minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .blog-feed-layout--two-cols {
        grid-template-columns: 1fr;
    }

    .blog-feed-layout__right {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .blog-feed-widget--search,
    .blog-feed-widget--trending,
    .blog-feed-hero {
        grid-column: 1 / -1;
    }

    .blog-feed-widget--profile {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767.98px) {
    .blog-feed-page {
        padding-top: 70px !important;
    }

    .blog-feed-layout__right {
        grid-template-columns: 1fr;
    }

    .blog-feed-item {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .blog-feed-item__media {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 991.98px) {
    .home-blog-feed.pt-120 {
        padding-top: 70px !important;
    }

    .home-blog-feed__header {
        margin-bottom: 2rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .home-blog-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .home-blog-feed__header h2 {
        font-size: 1.55rem;
    }

    .home-blog-feed__grid {
        grid-template-columns: 1fr;
    }

    .home-blog-feed__cta .blog-article__btn {
        width: 100%;
        justify-content: center;
    }

    .blog-feed-widget {
        padding: 1.1rem;
        border-radius: 12px;
    }

    .blog-feed-main-header h2 {
        font-size: 1.45rem;
    }

    .blog-pagination {
        overflow-x: auto;
    }

    .blog-pagination .pagination {
        width: max-content;
        flex-wrap: nowrap;
        margin: 0 auto;
    }

    .blog-article__body {
        padding: 1.35rem 1.15rem 1.5rem;
    }

    .blog-article__hero {
        aspect-ratio: 16 / 10;
    }

    .blog-article__meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-article__share .share-buttons {
        margin-left: 0;
        width: 100%;
    }

    .blog-article__actions {
        flex-direction: column;
    }

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

/* Blog comments */
.blog-comments {
    margin-top: 2.75rem;
    padding-top: 2.25rem;
    border-top: 1px solid #eef2f7;
}

.blog-comments__header {
    margin-bottom: 1.75rem;
}

.blog-comments__eyebrow {
    display: inline-block;
    margin-bottom: 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--theme-color1);
}

.blog-comments__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0 0 0.55rem;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    color: var(--theme-color2);
    line-height: 1.25;
}

.blog-comments__intro {
    margin: 0;
    max-width: 52ch;
    color: #64748b;
    font-size: 0.96rem;
    line-height: 1.65;
}

.blog-comments__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.85rem;
    height: 1.85rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    background: rgba(var(--theme-color1-rgb), 0.14);
    color: var(--theme-color1);
    font-size: 0.82rem;
    font-weight: 700;
}

.blog-comments__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.55;
}

.blog-comments__alert i {
    flex-shrink: 0;
    margin-top: 0.1rem;
    font-size: 1.1rem;
}

.blog-comments__alert--success {
    background: linear-gradient(135deg, #ecfdf3 0%, #f0fdf4 100%);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.blog-comments__alert--error {
    background: linear-gradient(135deg, #fef2f2 0%, #fff1f2 100%);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.blog-comments__empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.25rem;
    border: 1px dashed #dbe3ee;
    border-radius: 16px;
    background: linear-gradient(180deg, #fafbfc 0%, #f8fafc 100%);
}

.blog-comments__empty-icon {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(var(--theme-color1-rgb), 0.12);
    color: var(--theme-color1);
    font-size: 1.35rem;
}

.blog-comments__empty {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    max-width: 34ch;
}

.blog-comments__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.blog-comment {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(1, 20, 37, 0.03);
}

.blog-comment__avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color1) 0%, var(--theme-color4) 100%);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 16px rgba(var(--theme-color1-rgb), 0.28);
}

.blog-comment__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.85rem;
    margin-bottom: 0.5rem;
}

.blog-comment__author {
    color: var(--theme-color2);
    font-size: 0.98rem;
}

.blog-comment__date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
    font-size: 0.84rem;
}

.blog-comment--pending {
    background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
    border-color: #f5e6c8;
}

.blog-comment__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: #fff4d6;
    color: #9a6700;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.blog-comment__text {
    margin: 0;
    color: #334155;
    line-height: 1.75;
    white-space: pre-wrap;
}

.blog-comments__form-card {
    position: relative;
    overflow: hidden;
    padding: 1.65rem 1.75rem 1.75rem;
    background: linear-gradient(180deg, #fff 0%, #fcfdfe 100%);
    border: 1px solid #e3eaf2;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(1, 20, 37, 0.06);
}

.blog-comments__form-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-color1) 0%, var(--theme-color4) 55%, var(--theme-color2) 100%);
}

.blog-comments__form-head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eef2f7;
}

.blog-comments__form-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(var(--theme-color1-rgb), 0.12);
    color: var(--theme-color1);
    font-size: 1.2rem;
}

.blog-comments__form-title {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
    color: var(--theme-color2);
    line-height: 1.3;
}

.blog-comments__form-subtitle {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
}

.blog-comments__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 1.25rem;
}

.blog-comments__field--full {
    grid-column: 1 / -1;
}

.blog-comments__label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.blog-comments__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--theme-color2);
    letter-spacing: 0.01em;
}

.blog-comments__label-row .blog-comments__label {
    margin-bottom: 0;
}

.blog-comments__required {
    color: var(--theme-color1);
}

.blog-comments__control {
    position: relative;
    display: flex;
    align-items: stretch;
}

.blog-comments__control-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.92rem;
    pointer-events: none;
    transition: color 0.2s ease;
}

.blog-comments__control:focus-within .blog-comments__control-icon {
    color: var(--theme-color1);
}

.blog-comments__input,
.blog-comments__textarea {
    width: 100%;
    border: 1px solid #d7dee8;
    border-radius: 12px;
    padding: 0.82rem 0.95rem;
    font-size: 0.95rem;
    color: #1e293b;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.blog-comments__input {
    padding-left: 2.65rem;
}

.blog-comments__input::placeholder,
.blog-comments__textarea::placeholder {
    color: #94a3b8;
}

.blog-comments__input:hover,
.blog-comments__textarea:hover {
    border-color: #c5d0dc;
}

.blog-comments__input:focus,
.blog-comments__textarea:focus {
    outline: none;
    border-color: var(--theme-color1);
    box-shadow: 0 0 0 4px rgba(var(--theme-color1-rgb), 0.14);
    background: #fff;
}

.blog-comments__control--textarea .blog-comments__textarea {
    min-height: 148px;
    resize: vertical;
    line-height: 1.65;
}

.blog-comments__char-count {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.blog-comments__char-count--limit {
    color: #b45309;
}

.blog-comments__form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-top: 1.35rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef2f7;
}

.blog-comments__privacy {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    max-width: 38ch;
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
}

.blog-comments__privacy i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--theme-color1);
}

.blog-comments__submit {
    border: 0;
    cursor: pointer;
    white-space: nowrap;
}

.blog-comments__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767.98px) {
    .blog-comments__fields {
        grid-template-columns: 1fr;
    }

    .blog-comments__form-card {
        padding: 1.35rem 1.15rem 1.4rem;
        border-radius: 16px;
    }

    .blog-comments__form-head {
        flex-direction: column;
        gap: 0.85rem;
    }

    .blog-comments__form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-comments__privacy {
        max-width: none;
    }

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