/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    padding: 15px 0;
    background: #f8f9fc;
}

.blog-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 18px;
}

.blog-heading > span {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 18px;
    border-radius: 30px;
    background: rgba(138, 43, 226, 0.10);
    color: #8a2be2;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.blog-heading h2 {
    margin: 0 0 12px;
    color: #171717;
    font-size: 42px;
    font-weight: 800;
}

.blog-heading h2 strong {
    color: #16a34a;
}

.blog-heading p {
    margin: 0;
    color: #6b7280;
}


/* =========================================================
   ROW 1 - ADD BLOG
========================================================= */

.blog-add-card {
    padding: 11px 35px;
    background: #ffffff;
    border: 1px solid #e6e6ec;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.blog-card-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.blog-title-icon {
    width: 42px;
    height: 41px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 10px;
    background: #FF0066;
    color: #ffffff;
    font-size: 23px;
}

.blog-card-title h3 {
    margin: 0 0 4px;
    color: #171717;
    font-size: 23px;
    font-weight: 750;
}

.blog-card-title p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.blog-add-card label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 650;
}

.blog-input {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #ddddE5;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #222;
    font-size: 14px;
    transition: 0.25s ease;
}

.blog-input:focus {
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.10);
}

textarea.blog-input {
    min-height: 140px;
    resize: vertical;
}

.blog-counter {
    margin-top: 5px;
    text-align: right;
    color: #999;
    font-size: 11px;
}

.blog-submit-btn {
    padding: 13px 28px;
    border: 0;
    border-radius: 10px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s ease;
}

.blog-submit-btn:hover {
    background: #4f46e5;
    transform: translateY(-1px);
}

.blog-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.blog-form-message {
    margin-top: 15px;
}

.blog-form-message .success {
    padding: 12px 15px;
    border-radius: 9px;
    background: #eaf8ef;
    color: #207a3c;
    font-size: 13px;
}

.blog-form-message .error {
    padding: 12px 15px;
    border-radius: 9px;
    background: #fff0f0;
    color: #c62828;
    font-size: 13px;
}


/* =========================================================
   ROW 2 - BLOG HISTORY
========================================================= */

.blog-history-section {
    margin-top: 35px;
    padding: 35px;
    background: #ffffff;
    border: 1px solid #e6e6ec;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.blog-history-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eeeeF2;
}

.blog-history-heading > div:first-child > span {
    display: block;
    margin-bottom: 5px;
    color: #8a2be2;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.blog-history-heading h3 {
    margin: 0;
    color: #171717;
    font-size: 22px;
    font-weight: 750;
}

.blog-history-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(138, 43, 226, 0.10);
    color: #8a2be2;
    font-size: 21px;
}


/* =========================================================
   BLOG HISTORY ITEM
========================================================= */

.blog-history-item {
    padding: 12px 5px;
    border-bottom: 1px solid #eeeeF2;
}

.blog-history-item:last-child {
    border-bottom: 0;
}

.blog-history-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.blog-history-title {
    margin: 0;
    color: #1c1c1c;
    font-size: 19px;
    font-weight: 750;
}

.blog-history-date {
    flex-shrink: 0;
    color: #8a2be2;
    font-size: 12px;
    font-weight: 650;
}

.blog-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 6px;
}

.blog-history-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #777;
    font-size: 12px;
}

.blog-history-meta i {
    color: #8a2be2;
}

.blog-history-opinion {
    margin: 0;
    color: #5f6368;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================================
   LOADING
========================================================= */

.blog-loading {
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .blog-section {
        padding: 17px 0;
    }

    .blog-heading h2 {
        font-size: 30px;
    }

    .blog-add-card,
    .blog-history-section {
        padding: 22px;
    }

    .blog-history-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .blog-history-date {
        order: -1;
    }

}
@media (max-width: 767.98px) {
    .blog-title-column {
        width: 100%;
    }
}

.blog-history-title,
.blog-country {
    display: inline-flex;
    align-items: center;
}

.blog-country {
    margin-left: 8px;
        font-size: 13px;
}

@media (max-width: 767.98px) {
    .blog-history-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    .blog-name-country {
        display: flex;
        align-items: center;
        gap: 6px;
        min-width: 0;
    }

    .blog-country {
        margin-left: 0;
        white-space: nowrap;
    }

    .blog-history-date {
        flex-shrink: 0;
    }
}