
.ginmi-blog-detail {
    background: #f7faf8;
}

.ginmi-article-container {
    max-width: 1000px;
}

.ginmi-article,
.ginmi-comments {
    background: #fff;
    border: 1px solid #e7eee9;
    border-radius: 22px;
    box-shadow: 0 12px 40px rgba(18, 54, 37, .045);
}

.ginmi-article {
    padding: clamp(20px, 4vw, 46px);
}

.ginmi-article-cover-wrap {
    margin: -5px 0 30px;
    overflow: hidden;
    border-radius: 16px;
    background: #edf4ef;
}

.ginmi-article-cover {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.ginmi-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    color: #66766c;
    font-size: 13px;
}

.ginmi-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ginmi-article-meta i {
    color: #168653;
}

.ginmi-article-excerpt {
    margin: 22px 0 30px;
    padding-left: 18px;
    border-left: 3px solid #20a56b;
    color: #52665a;
    font-size: 18px;
    line-height: 1.8;
}

.ginmi-article-content {
    color: #26362d;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.ginmi-article-content h2,
.ginmi-article-content h3 {
    margin-top: 1.8em;
    color: #153b2b;
    line-height: 1.35;
}

.ginmi-article-content img,
.ginmi-article-content video {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.ginmi-article-content a {
    color: #138451;
    text-underline-offset: 3px;
}

.ginmi-share-section {
    margin-top: 42px;
    padding: 25px;
    border: 1px solid #e2ece5;
    border-radius: 16px;
    background: #f8fbf9;
}

.ginmi-share-section h3 {
    margin: 0 0 6px;
    color: #173b2b;
    font-size: 19px;
}

.ginmi-share-section p {
    margin: 0;
    color: #708076;
    font-size: 14px;
}

.ginmi-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ginmi-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    border: 1px solid #dce7df;
    border-radius: 10px;
    background: #fff;
    color: #244334;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ginmi-share-btn:hover {
    transform: translateY(-2px);
    border-color: #a9cbb7;
    box-shadow: 0 5px 15px rgba(20, 60, 39, .08);
    color: #13794b;
}

.ginmi-share-btn i {
    font-size: 16px;
}

.ginmi-share-feedback {
    min-height: 18px;
    margin-top: 12px !important;
    color: #13794b !important;
    font-size: 13px !important;
}

.ginmi-article-footer {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #e8eee9;
}

.ginmi-back-link {
    color: #167d4c;
    font-weight: 700;
    text-decoration: none;
}

.ginmi-comments {
    margin-top: 30px;
    padding: clamp(20px, 4vw, 38px);
    scroll-margin-top: 100px;
}

.ginmi-comments-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 26px;
}

.ginmi-section-kicker {
    color: #17804f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
}

.ginmi-comments-heading h2 {
    margin: 8px 0;
    color: #153b2b;
    font-size: clamp(24px, 3vw, 32px);
}

.ginmi-comments-heading p,
.ginmi-comment-form-card > p {
    margin: 0;
    color: #728076;
    line-height: 1.7;
}

.ginmi-comment-count {
    flex-shrink: 0;
    padding: 8px 12px;
    border-radius: 30px;
    background: #eaf6ee;
    color: #176c43;
    font-size: 12px;
    font-weight: 800;
}

.ginmi-comment-form-card {
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid #e3ece6;
    border-radius: 16px;
    background: #f9fbf9;
}

.ginmi-comment-form-card h3 {
    margin: 0 0 6px;
    color: #173b2b;
    font-size: 20px;
}

.ginmi-comment-form {
    display: grid;
    gap: 17px;
    margin-top: 20px;
}

.ginmi-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ginmi-field {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.ginmi-field label {
    color: #30473a;
    font-size: 13px;
    font-weight: 750;
}

.ginmi-field .form-control {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px;
    border: 1px solid #dce6df;
    border-radius: 10px;
    background: #fff;
    color: #26362d;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.ginmi-field textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.ginmi-field .form-control:focus {
    outline: none;
    border-color: #20a56b;
    box-shadow: 0 0 0 3px rgba(32, 165, 107, .12);
}

.ginmi-submit-comment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    justify-self: start;
    min-height: 46px;
    padding: 12px 20px;
    border: 0;
    border-radius: 10px;
    background: #147b4a;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.ginmi-submit-comment:hover {
    transform: translateY(-1px);
    background: #0d6139;
}

.ginmi-moderation-note {
    margin: -5px 0 0;
    color: #718075;
    font-size: 12px;
}

.ginmi-moderation-note i {
    color: #168653;
}

.ginmi-form-error {
    color: #b42318;
    font-size: 12px;
}

.ginmi-message {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
}

.ginmi-message-success {
    border: 1px solid #bce4c8;
    background: #eefaf1;
    color: #17683a;
}

.ginmi-message-error {
    border: 1px solid #f1c5c1;
    background: #fff2f1;
    color: #a1261c;
}

.ginmi-comment-list {
    display: grid;
    gap: 24px;
}

.ginmi-comment {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.ginmi-comment + .ginmi-comment {
    padding-top: 22px;
    border-top: 1px solid #edf1ee;
}

.ginmi-comment-avatar {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #e4f5e9;
    color: #147647;
    font-size: 16px;
    font-weight: 800;
}

.ginmi-comment-main {
    flex: 1;
    min-width: 0;
}

.ginmi-comment-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ginmi-comment-author-row h3 {
    margin: 0 0 4px;
    color: #223d2e;
    font-size: 15px;
    font-weight: 800;
}

.ginmi-comment-author-row time {
    color: #859188;
    font-size: 12px;
}

.ginmi-comment-text {
    margin-top: 12px;
    color: #47584c;
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ginmi-reply-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: #147b4a;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.ginmi-reply-form-wrap {
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #e4ece6;
    border-radius: 12px;
    background: #f9fbf9;
}

.ginmi-comment-reply {
    margin-top: 20px;
    padding-top: 18px;
    padding-left: 18px;
    border-top: 1px solid #edf1ee;
}

.ginmi-reply-avatar {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    font-size: 13px;
}

.ginmi-reply-label {
    padding: 5px 9px;
    border-radius: 20px;
    background: #edf7f0;
    color: #187447;
    font-size: 11px;
    font-weight: 800;
}

.ginmi-no-comments {
    padding: 35px 20px;
    border: 1px dashed #dbe6de;
    border-radius: 14px;
    text-align: center;
}

.ginmi-no-comments > i {
    color: #218654;
    font-size: 30px;
}

.ginmi-no-comments h3 {
    margin: 12px 0 6px;
    color: #254432;
}

.ginmi-no-comments p {
    margin: 0;
    color: #77847a;
    font-size: 14px;
}

@media (max-width: 600px) {
    .ginmi-article,
    .ginmi-comments {
        border-radius: 15px;
    }

    .ginmi-article-meta {
        gap: 10px 14px;
    }

    .ginmi-article-excerpt {
        font-size: 16px;
    }

    .ginmi-form-grid {
        grid-template-columns: 1fr;
    }

    .ginmi-comment-form-card {
        padding: 17px;
    }

    .ginmi-comments-heading {
        flex-direction: column;
    }

    .ginmi-share-section {
        padding: 18px;
    }

    .ginmi-share-btn {
        flex: 1 1 calc(50% - 10px);
    }

    .ginmi-share-btn span {
        font-size: 12px;
    }

    .ginmi-comment {
        gap: 10px;
    }

    .ginmi-comment-avatar {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 13px;
    }

    .ginmi-comment-reply {
        padding-left: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ginmi-share-btn,
    .ginmi-submit-comment {
        transition: none;
    }
}


/* =========================================
   GINMI BLOG — PROFESSIONAL VISUAL UPGRADE
   ========================================= */

.ginmi-blog-detail {
    padding-block: clamp(48px, 7vw, 88px);
    background:
        radial-gradient(ellipse at top left, rgba(29, 143, 84, .045), transparent 38%),
        #f6f9f7;
}

.ginmi-article-container {
    width: min(100% - 32px, 1000px);
    max-width: 1000px;
    margin-inline: auto;
}

/* ARTICLE CARD */

.ginmi-article,
.ginmi-comments {
    overflow: hidden;
    border: 1px solid #e5ece7;
    border-radius: 24px;
    background: #fff;
    box-shadow:
        0 3px 8px rgba(22, 53, 36, .025),
        0 18px 55px rgba(22, 53, 36, .055);
}

.ginmi-article {
    padding: clamp(18px, 4.5vw, 48px);
}

/* PROFESSIONAL COVER IMAGE */

.ginmi-article-cover-wrap {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 0 32px;
    overflow: hidden;
    border-radius: 18px;
    background: #e6eee8;
    box-shadow: 0 12px 30px rgba(19, 53, 35, .10);
}

.ginmi-article-cover-wrap::after {
    position: absolute;
    z-index: 1;
    inset: 55% 0 0;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(9, 32, 20, .16)
    );
    content: "";
    pointer-events: none;
}

.ginmi-article-cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}

.ginmi-article-cover-wrap:hover .ginmi-article-cover {
    transform: scale(1.025);
}

/* ARTICLE INFORMATION */

.ginmi-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px 20px;
    color: #68796e;
    font-size: 12px;
    font-weight: 600;
}

.ginmi-article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ginmi-article-meta i {
    color: #17834f;
    font-size: 15px;
}

.ginmi-article-excerpt {
    margin: 24px 0 34px;
    padding: 4px 0 4px 20px;
    border-left: 4px solid #1a9859;
    color: #52675a;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.85;
}

/* ARTICLE BODY */

.ginmi-article-content {
    color: #34443a;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere;
}

.ginmi-article-content h2,
.ginmi-article-content h3 {
    margin-top: 1.8em;
    margin-bottom: .65em;
    color: #153c29;
    font-weight: 750;
    line-height: 1.4;
}

.ginmi-article-content img,
.ginmi-article-content video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 14px;
}

.ginmi-article-content a {
    color: #14834c;
    text-underline-offset: 4px;
}

/* SHARE PANEL */

.ginmi-share-section {
    margin-top: 46px;
    padding: clamp(20px, 3vw, 30px);
    border: 1px solid #e3ece5;
    border-radius: 20px;
    background: linear-gradient(135deg, #f8fbf8, #f0f7f2);
}

.ginmi-share-section h3 {
    margin: 0 0 7px;
    color: #153b29;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.ginmi-share-section > div:first-child p {
    margin: 0;
    color: #718075;
    font-size: 14px;
    line-height: 1.7;
}

.ginmi-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

/* UNIVERSAL BUTTON STYLE */

.ginmi-share-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 12px 17px;
    overflow: hidden;
    border: 1px solid #dce7df;
    border-radius: 12px;
    background: #fff;
    color: #294536;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(20, 55, 35, .025);
    transition:
        transform .22s ease,
        background .22s ease,
        color .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.ginmi-share-btn i {
    font-size: 17px;
    line-height: 1;
}

.ginmi-share-btn:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(20, 55, 35, .11);
}

.ginmi-share-btn:focus-visible,
.ginmi-submit-comment:focus-visible,
.ginmi-reply-toggle:focus-visible,
.ginmi-back-link:focus-visible {
    outline: 3px solid rgba(26, 152, 89, .35);
    outline-offset: 3px;
}

/* SOCIAL BRAND COLORS */

.ginmi-share-btn.share-facebook:hover {
    background: #1877f2;
    color: #fff;
}

.ginmi-share-btn.share-x:hover {
    background: #111827;
    color: #fff;
}

.ginmi-share-btn.share-linkedin:hover {
    background: #0a66c2;
    color: #fff;
}

.ginmi-share-btn.share-whatsapp:hover {
    background: #128c52;
    color: #fff;
}

.ginmi-share-btn.share-instagram:hover {
    background: linear-gradient(120deg, #833ab4, #e1306c, #f77737);
    color: #fff;
}

.ginmi-share-btn.share-copy:hover,
.ginmi-share-btn.share-native:hover {
    background: #176f46;
    color: #fff;
}

.ginmi-share-feedback {
    min-height: 20px;
    margin-top: 14px !important;
    color: #147847 !important;
    font-size: 13px !important;
    font-weight: 600;
    line-height: 1.6;
}

/* BACK TO JOURNAL */

.ginmi-article-footer {
    display: flex;
    align-items: center;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid #e8eee9;
}

.ginmi-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 19px;
    border: 1px solid #d7e8dc;
    border-radius: 12px;
    background: #edf7f0;
    color: #176d43;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: all .22s ease;
}

.ginmi-back-link:hover {
    transform: translateX(-3px);
    border-color: #176d43;
    background: #176d43;
    color: #fff;
}

/* COMMENTS PANEL */

.ginmi-comments {
    margin-top: 32px;
    padding: clamp(20px, 4vw, 40px);
    scroll-margin-top: 100px;
}

.ginmi-comments-heading h2 {
    color: #153b29;
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 800;
    letter-spacing: -.035em;
}

.ginmi-comment-form-card {
    margin: 28px 0 34px;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid #e1ebe4;
    border-radius: 18px;
    background: #f8fbf9;
}

.ginmi-comment-form-card h3 {
    margin: 0 0 7px;
    color: #173c2a;
    font-size: 21px;
    font-weight: 800;
}

.ginmi-comment-form-card > p {
    color: #718075;
    font-size: 14px;
    line-height: 1.7;
}

/* INPUTS */

.ginmi-field {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.ginmi-field label {
    color: #304638;
    font-size: 13px;
    font-weight: 750;
}

.ginmi-field .form-control {
    box-sizing: border-box;
    width: 100%;
    min-height: 49px;
    padding: 13px 15px;
    border: 1px solid #d8e4dc;
    border-radius: 11px;
    background: #fff;
    color: #26382d;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: inset 0 1px 2px rgba(15, 45, 28, .025);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.ginmi-field textarea.form-control {
    min-height: 135px;
    resize: vertical;
}

.ginmi-field .form-control::placeholder {
    color: #9aa79d;
}

.ginmi-field .form-control:focus {
    outline: none;
    border-color: #1b9859;
    box-shadow: 0 0 0 4px rgba(27, 152, 89, .10);
}

/* PRIMARY ACTION BUTTON */

.ginmi-submit-comment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    justify-self: start;
    min-height: 49px;
    padding: 13px 22px;
    border: 1px solid #147746;
    border-radius: 12px;
    background: linear-gradient(135deg, #1c9859, #116c40);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 5px 13px rgba(19, 120, 67, .16);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.ginmi-submit-comment i {
    font-size: 15px;
}

.ginmi-submit-comment:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 9px 22px rgba(19, 120, 67, .22);
}

.ginmi-submit-comment:active {
    transform: translateY(0);
}

/* REPLY BUTTON */

.ginmi-reply-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    margin-top: 12px;
    padding: 7px 12px;
    border: 1px solid #dce9df;
    border-radius: 9px;
    background: #f3f8f4;
    color: #176d43;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
}

.ginmi-reply-toggle:hover {
    border-color: #176d43;
    background: #176d43;
    color: #fff;
}

.ginmi-reply-form-wrap {
    margin-top: 15px;
    padding: clamp(15px, 3vw, 22px);
    border: 1px solid #dfeae2;
    border-radius: 14px;
    background: #f8fbf9;
    animation: ginmiReplyReveal .24s ease both;
}

@keyframes ginmiReplyReveal {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* COMMENT AVATARS AND REPLIES */

.ginmi-comment-avatar {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    background: linear-gradient(145deg, #d9f3e2, #b9e6ca);
    color: #14683e;
    font-size: 16px;
    font-weight: 850;
    box-shadow: 0 0 0 1px #d9e9de;
}

.ginmi-comment-author-row h3 {
    color: #223e2e;
    font-size: 15px;
    font-weight: 800;
}

.ginmi-comment-author-row time {
    color: #849187;
    font-size: 12px;
}

.ginmi-comment-text {
    color: #4a5b4f;
    font-size: 14px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.ginmi-comment-reply {
    margin-top: 20px;
    padding: 20px 0 0 18px;
    border-top: 1px solid #e8efe9;
}

.ginmi-reply-avatar {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
    font-size: 13px;
}

.ginmi-reply-label {
    padding: 6px 10px;
    border-radius: 20px;
    background: #eaf6ed;
    color: #176d43;
    font-size: 11px;
    font-weight: 800;
}

/* EMPTY COMMENTS STATE */

.ginmi-no-comments {
    padding: 42px 20px;
    border: 1px dashed #d3e3d8;
    border-radius: 17px;
    background: #fbfdfb;
    text-align: center;
}

.ginmi-no-comments > i {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 18px;
    background: #eaf6ed;
    color: #17834f;
    font-size: 25px;
}

.ginmi-no-comments h3 {
    margin: 16px 0 7px;
    color: #254432;
    font-size: 19px;
    font-weight: 800;
}

.ginmi-no-comments p {
    margin: 0;
    color: #77847a;
    font-size: 14px;
    line-height: 1.7;
}

/* RESPONSIVE LAYOUT */

@media (max-width: 640px) {
    .ginmi-article,
    .ginmi-comments {
        border-radius: 17px;
    }

    .ginmi-article-cover-wrap {
        aspect-ratio: 4 / 3;
        margin-bottom: 24px;
        border-radius: 13px;
    }

    .ginmi-article-meta {
        gap: 10px 14px;
    }

    .ginmi-share-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .ginmi-share-btn {
        width: 100%;
        min-width: 0;
        padding-inline: 9px;
        white-space: normal;
    }

    .ginmi-share-btn span {
        font-size: 12px;
    }

    .ginmi-form-grid {
        grid-template-columns: 1fr;
    }

    .ginmi-comment-form-card {
        border-radius: 14px;
    }

    .ginmi-comment-avatar {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .ginmi-comment {
        gap: 11px;
    }

    .ginmi-comment-reply {
        padding-left: 10px;
    }

    .ginmi-submit-comment {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ginmi-article-cover,
    .ginmi-share-btn,
    .ginmi-back-link,
    .ginmi-submit-comment,
    .ginmi-reply-toggle {
        transition: none;
    }

    .ginmi-reply-form-wrap {
        animation: none;
    }
}
