/* Landing blog — archive / single (main_blog + brand green #89ba16) */

/* Sidebar search — square corners, matched height (RTL append on left) */
.sidebar .search-form {
    background: transparent;
}

.sidebar .search-form .form-group {
    position: static;
    margin: 0;
}

.sidebar .blog-search-group {
    flex-wrap: nowrap;
    border: 1px solid #d5dfc4;
    border-radius: 0;
    overflow: hidden;
}

.sidebar .blog-search-group:focus-within {
    border-color: #89ba16;
}

.sidebar .blog-search-group .form-control {
    height: 2.5rem;
    font-size: 0.95rem;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
}

.sidebar .blog-search-group .form-control:focus {
    border: 0;
    box-shadow: none;
    z-index: 3;
}

.sidebar .blog-search-group .input-group-append {
    margin-left: 0;
}

.sidebar .blog-search-btn {
    background: #89ba16;
    border: 0;
    border-radius: 0 !important;
    color: #fff;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sidebar .blog-search-btn:hover,
.sidebar .blog-search-btn:focus {
    background: #78a414;
    border: 0;
    color: #fff;
    box-shadow: none;
}

/* Archive list — one news per row */
.blog-archive-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-post-row {
    background: #fff;
    border: 1px solid #e8ece4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(33, 37, 41, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-post-row:hover {
    border-color: #c5d9a0;
    box-shadow: 0 6px 18px rgba(137, 186, 22, 0.12);
}

.blog-post-row__media {
    display: block;
    height: 100%;
    min-height: 180px;
    background: #f0f3ea;
    overflow: hidden;
}

.blog-post-row__media img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-post-row:hover .blog-post-row__media img {
    transform: scale(1.04);
}

.blog-post-row__body {
    padding: 1.15rem 1.35rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-post-row__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.55rem;
}

.blog-cat-pill {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 3px;
    background: #eef5dc;
    color: #5a7a12;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-cat-pill:hover {
    background: #89ba16;
    color: #fff;
    text-decoration: none;
}

.blog-post-row__title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0 0 0.5rem;
}

.blog-post-row__title a {
    color: #212529;
    text-decoration: none;
}

.blog-post-row__title a:hover {
    color: #89ba16;
}

.blog-post-row__excerpt {
    font-size: 0.92rem;
    color: #5a6268;
    line-height: 1.75;
    margin-bottom: 0.85rem;
    flex-grow: 1;
}

.blog-post-row__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.1rem;
    font-size: 0.82rem;
    color: #6c757d;
    border-top: 1px solid #f0f2ed;
    padding-top: 0.75rem;
    margin-top: auto;
}

.blog-post-row__author i,
.blog-post-row__comments i {
    margin-left: 0.25rem;
    color: #89ba16;
}

.blog-post-row__more {
    margin-right: auto;
    color: #89ba16;
    font-weight: 600;
    text-decoration: none;
}

.blog-post-row__more:hover {
    color: #6f9a12;
    text-decoration: none;
}

/* Tags / sidebar */
.blog-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-tag-chip {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 3px;
    background: #f0f3ea;
    color: #3d4a28;
    font-size: 0.85rem;
    text-decoration: none;
}

.blog-tag-chip:hover,
.blog-tag-chip.is-active {
    background: #89ba16;
    color: #fff;
    text-decoration: none;
}

.blog-tag-chip--sm {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    margin-bottom: 0.25rem;
}

.categories li.is-active > a {
    font-weight: 700;
    color: #89ba16;
}

.categories li a span {
    right: unset;
    left: 0;
}

.blog-empty-state {
    border: 1px dashed #ced4da;
    border-radius: 8px;
    background: #fafafa;
}

/* Single */
.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    font-size: 0.9rem;
    opacity: 0.95;
}

.blog-hero-meta i {
    margin-left: 0.35rem;
}

.blog-hero-meta a:hover {
    text-decoration: underline;
}

.blog-lead {
    color: #495057;
    border-right: 3px solid #89ba16;
    padding-right: 1rem;
}

.blog-feature-figure {
    margin: 0 0 1.5rem;
}

.blog-article-body {
    line-height: 1.9;
    font-size: 1.02rem;
}

.blog-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.blog-single-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e9ecef;
}

/* Share */
.blog-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 0.85rem;
}

.blog-share__label {
    font-weight: 600;
    color: #343a40;
    font-size: 0.9rem;
}

.blog-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: #f0f3ea;
    color: #3d4a28;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.blog-share__btn:hover {
    background: #89ba16;
    color: #fff;
    text-decoration: none;
}

.blog-share__btn--copy.is-copied {
    background: #89ba16;
    color: #fff;
}

/* Related */
.blog-related {
    border-top: 1px solid #e9ecef;
}

.blog-related__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: #212529;
}

.blog-related__card {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.65rem;
    border: 1px solid #e8ece4;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    height: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-related__card:hover {
    border-color: #89ba16;
    box-shadow: 0 4px 12px rgba(137, 186, 22, 0.1);
    text-decoration: none;
    color: inherit;
}

.blog-related__thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f3ea;
}

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

.blog-related__date {
    display: block;
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.blog-related__name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: #212529;
}

.blog-comments .comment-list .children {
    padding-right: 1.5rem;
    padding-left: 0;
}

.captcha-refresher {
    cursor: pointer;
}

.blog-comment-captcha {
    gap: 0.65rem;
}

.blog-comment-captcha__input {
    max-width: 12rem;
    flex: 0 1 12rem;
}

.blog-comment-captcha__image {
    border: 1px solid #d5dfc4;
    border-radius: 6px;
    padding: 2px 6px;
    background: #fff;
}

.blog-comment-captcha__image .captcha_img {
    width: 160px;
    height: 40px;
}

/* ——— Static pages (type=page): focused reading, no blog chrome ——— */
.blog-page-hero.section-hero.inner-page {
    padding: 4.5rem 0 3.25rem;
}

.blog-page-breadcrumbs {
    font-size: 0.9rem;
    opacity: 0.92;
}

.blog-page-title {
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.blog-page-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.blog-page-content {
    background: #fff;
    border: 1px solid #e8ece4;
    border-radius: 10px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 1px 3px rgba(33, 37, 41, 0.04);
}

.blog-page-lead {
    color: #495057;
    font-size: 1.1rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #eef1ea;
}

.blog-page-figure {
    margin: 0 0 1.75rem;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f3ea;
}

.blog-page-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.blog-page-body {
    line-height: 1.95;
    font-size: 1.05rem;
    color: #212529;
}

.blog-page-body h2,
.blog-page-body h3,
.blog-page-body h4 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #1b1e21;
}

.blog-page-body p {
    margin-bottom: 1rem;
}

.blog-page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.blog-page-body ul,
.blog-page-body ol {
    padding-right: 1.25rem;
    margin-bottom: 1rem;
}

.blog-page-footer {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #eef1ea;
}

.blog-page-footer .blog-share__label {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.85rem;
}

/* ——— Contact page ——— */
.contact-hero-lead {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-section {
    padding-top: 2.5rem;
    padding-bottom: 3.5rem;
}

.contact-info-card,
.contact-form-card {
    background: #fff;
    border: 1px solid #e8ece4;
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.35rem;
    box-shadow: 0 1px 3px rgba(33, 37, 41, 0.04);
}

.contact-form-card {
    height: 100%;
}

.contact-info-card__title,
.contact-form-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1b1e21;
    margin-bottom: 0.5rem;
}

.contact-info-card__intro {
    font-size: 0.92rem;
    margin-bottom: 1.35rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.85rem 0;
    border-top: 1px solid #eef1ea;
}

.contact-info-item:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.contact-info-item__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background: #f0f3ea;
    color: #89ba16;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.contact-info-item__label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.2rem;
}

.contact-info-item__value {
    color: #212529;
    font-size: 0.95rem;
    line-height: 1.65;
    text-decoration: none;
}

a.contact-info-item__value:hover {
    color: #89ba16;
}

.contact-aside-visual {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #eef1ea;
    align-items: center;
    justify-content: center;
    max-height: 11rem;
    overflow: hidden;
}

.contact-aside-visual img {
    max-width: 70%;
    max-height: 10rem;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

.contact-form .form-control {
    border-color: #d5dfc4;
}

.contact-form .form-control:focus {
    border-color: #89ba16;
    box-shadow: 0 0 0 0.15rem rgba(137, 186, 22, 0.2);
}

.contact-submit-btn {
    background: #89ba16;
    border-color: #89ba16;
    color: #fff;
    font-weight: 600;
    min-width: 10rem;
    padding: 0.65rem 1.5rem;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
    background: #78a414;
    border-color: #78a414;
    color: #fff;
}

@media (max-width: 767.98px) {
    .blog-post-row__media,
    .blog-post-row__media img {
        min-height: 160px;
    }

    .blog-page-content {
        padding: 1.25rem 1rem 1.15rem;
        border-radius: 8px;
    }

    .blog-page-hero.section-hero.inner-page {
        padding: 3.5rem 0 2.5rem;
    }

    .contact-info-card,
    .contact-form-card {
        padding: 1.25rem 1rem;
    }

    .contact-submit-btn {
        width: 100%;
    }
}
