/* ===========================
   Hide ReCaptcha Badge
   =========================== */
.grecaptcha-badge {
    display: none;
}

/* ===========================
   Desktop / Mobile Block Toggle
   =========================== */
.desktop-block {
    display: block !important;
}

.mobile-block {
    display: none !important;
}

@media only screen and (max-width: 767px) {
    .desktop-block {
        display: none !important;
    }

    .mobile-block {
        display: block !important;
    }
}

/* ===========================
   Header Date Display
   =========================== */
.icon-text.current-date {
    margin-top: -1.5px;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

/* =========================
   Goodies Pages
   ========================= */
iframe[src*="bullion.softnep.tools"] {
    height: 430px;
}

iframe[src*="forex.softnep.tools"],
iframe[src*="share.softnep.tools"] {
    height: 455px;
}

iframe[src*="unicode.softnep.tools"] {
    height: 900px;
}

iframe[src*="weather.softnep.tools"] {
    height: 765px;
}

@media screen and (max-width: 768px) {
    iframe[src*="bullion.softnep.tools"] {
        height: 345px;
    }

    iframe[src*="forex.softnep.tools"],
    iframe[src*="share.softnep.tools"] {
        height: 365px;
    }

    iframe[src*="unicode.softnep.tools"] {
        height: 750px;
    }

    iframe[src*="weather.softnep.tools"] {
        height: 620px;
    }
}

/* ===========================
   CKEditor Recommendation
   =========================== */
.editor-box .side-items.more-to-read {
    margin: 28px 0;
    clear: both;
    display: block;
}

.editor-box .side-items.more-to-read .cat-box {
    display: block;
    position: relative;
    margin-bottom: 20px;
}

.editor-box .side-items.more-to-read .cat-box .cat-tags {
    background: #2f76bb;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    padding: 5px 20px;
    display: table;
    line-height: 24px;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

.editor-box .side-items.more-to-read .cat-box:before {
    width: 100%;
    height: 1px;
    background: #8c182b;
    content: "";
    position: absolute;
    top: 18px;
    left: 0;
    z-index: 0;
}

.editor-box .more-to-read p:empty,
.editor-box .more-read p:empty {
    display: none;
}

.editor-box .side-items.more-to-read .editor-related-news .item-news.media {
    display: flex !important;
    align-items: center;
    padding: 12px 0;
    margin-top: 0;
    border-bottom: 1px solid #eef1f5;
}

.editor-box .side-items.more-to-read .editor-related-news .item-news.media:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.editor-box .side-items.more-to-read .article-img {
    width: 130px !important;
    min-width: 130px !important;
    height: 86px !important;
    margin: 0 15px 0 0 !important;
    overflow: hidden;
    border-radius: 4px;
}

.editor-box .side-items.more-to-read .article-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.editor-box .side-items.more-to-read .article-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    border-radius: 4px;
}

.editor-box .side-items.more-to-read .media-body {
    flex: 1 1 auto;
}

.editor-box .side-items.more-to-read .media-body .main-title {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    background: none !important;
}

.editor-box .side-items.more-to-read .media-body .main-title a {
    color: #111 !important;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.editor-box .side-items.more-to-read .media-body .main-title a:hover {
    color: #2f76bb !important;
    text-decoration: underline;
}

/* Fallback for legacy .more-read format */
.editor-box .more-read {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #2f76bb;
}

.editor-box .more-read .block-title {
    font-weight: 700;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.editor-box .more-read .more-news-list {
    margin: 0 0 0 20px;
    padding: 0;
}

@media (max-width: 576px) {
    .editor-box .side-items.more-to-read .article-img {
        width: 95px !important;
        min-width: 95px !important;
        height: 66px !important;
        margin-right: 12px !important;
    }

    .editor-box .side-items.more-to-read .media-body .main-title {
        font-size: 16px;
        line-height: 22px;
    }
}