@font-face {
    font-family: iransans;
    src: url(../fontawesome/IRANSans.ttf);
}

/* @font-face {
  font-family: FontAwesome;
  src: url(../fontawesome-free-6.6.0-web/webfonts/fa-solid-900.woff2);
} */

.align-item-center {
    align-items: center !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-between {
    justify-content: space-between !important;
}


body {
    overflow-x: hidden;
    font-family: iransans;
    direction: rtl;
    background-color: #27282d;
}

/* ---- Sidebar ---- */
#sidebar {
    overflow-x: hidden;
    text-align: right;
    position: fixed;
    height: 100vh;
    /* background: white; */
    background-color: #083f5ea3;
    border-left: 2px solid #013248;
    transition: 0.3s ease;
    overflow-y: auto;
}

@media (max-width:1024px) {
    #sidebar {
        background-color: #002033e3;
    }
}

#sidebar::-webkit-scrollbar {
    width: 8px;
    cursor: pointer;
}

#sidebar::-webkit-scrollbar-thumb {
    background: #004165;
    border-radius: 4px;
    cursor: pointer;
}

#sidebar::-webkit-scrollbar-track {
    background: #dddddd7d;
    border-radius: 4px;
}

@media (min-width: 768px) {
    #sidebar {
        width: 16.66666667%;
    }
}


#sidebar.hidden-desktop {
    display: none !important;
}

#openSidebarDesktop {
    width: 5%;
    position: fixed;
    top: 0;
    right: 0;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    height: 100vh;
    background: #002033b8;
    padding: 20px 0;
    /* border-right: 1px solid #80808036; */
    border-right: 2px solid #013248;
    font-size: 20px;
    display: none;
    z-index: 900;
}

    #openSidebarDesktop .icon {
        cursor: pointer;
        color: white;
    }

/* Sidebar در موبایل */
@media (max-width: 1024px) {
    #sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: 260px;
        transform: translateX(-300px);
        z-index: 999;
        display: block !important;
    }

        #sidebar.show {
            transform: translateX(0);
        }

    #openSidebarDesktop {
        display: none !important;
    }
}

/* Backdrop موبایل */
#backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 998;
}

.back {
    background-image: url(../images/2/bac.jpg);
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ---- Chat ---- */
#chat-area {
    position: relative;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    overflow-x: hidden;
    overflow-y: auto;
}

#chat-header {
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.thenew-style {
    left: 0;
    position: fixed;
    width: 95.666667%;
    top: 5px;
}

@media (max-width:1024px) {
    #chat-header {
        padding: 15px 30px;
        top: 0;
        z-index: 99;
        width: 100%;
        position: fixed;
        padding: 15px 30px;
        margin-bottom: 100px;
        margin: 0 auto;
        left: 0;
        background-color: #001f31db;
    }
}

#chat-messages {
    width: 60%;
    margin: 0 auto;
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    opacity: 1 !important;
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
}

@media (max-width:768px) {
    #chat-messages {
        width: 80%;
        font-size: 13px;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* ---- Input ---- */




.input-wrapper input {
    width: 100%;
    padding: 15px 55px 15px 45px;
    border-radius: 35px;
    border: 1px solid #ccc;
    outline: none;
}

.icon-right {
    position: absolute;
    right: 15px;
    display: flex;
    gap: 14px;
    font-size: 16px;
    align-items: center;
    cursor: pointer;
}

.icon-left {
    position: absolute;
    left: 20px;
    font-size: 16px;
    cursor: pointer;
}

#addMenu {
    position: absolute;
    width: 190px;
    bottom: 55px;
    left: 10px;
    width: 140px;
    background: white;
    border-radius: 12px;
    padding: 10px 0;
    display: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 50;
}

    #addMenu div {
        padding: 10px 15px;
        cursor: pointer;
    }

        #addMenu div:hover {
            background: #01283a;
        }

#mobile-menu-btn {
    padding: 8px 0px;
    font-size: 22px;
    display: none;
}

h5 {
    margin: 0;
}

@media (max-width: 1024px) {
    #mobile-menu-btn {
        display: block;
    }
}

.list-unstyled {
    padding: 0;
}

.new-col-1 {
    flex: 0 0 auto;
    width: 5%;
    margin-left: 5px;
}

.new-col-11 {
    flex: 0 0 auto;
    width: 94.666667%;
}

#closeSidebarDesktop {
    cursor: pointer;
    color: white;
}

.send-btn {
    padding: 8px 10px;
    border-radius: 50%;
    background-color: #e2e2e2;
}


/*  */
/* پیام‌ها */
#chat-messages {
    padding: 20px;
    padding-bottom: 140px;
}

.input-wrapper {
    background: #dcdcdc;
    /* box-shadow: 0px 1px 6px #064c5f; */
    border: 2px solid #206172;
    border-radius: 25px;
    padding: 0px 93px 0 45px;
    display: flex;
    align-items: center;
    position: relative;
    /* width: 80%; */
    width: 53%;
}

@media (max-width:999px) {
    .input-wrapper {
        width: 96% !important;
        padding: 0px 35px;
        padding-right: 50px;
    }
}

/* منوی Add */
#addMenu {
    position: absolute;
    bottom: 60px;
    left: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 10px;
}

    #addMenu div {
        border-radius: 10px;
        padding: 6px 10px;
        cursor: pointer;
    }

/* textarea */
#chatInput,
#chatInput2 {
    width: 100%;
    height: 50px;
    max-height: 620px;
    resize: none;
    border: none;
    outline: none;
    padding: 0 8px;
    background: transparent;
    overflow-y: auto;
    font-size: 16px;
    line-height: 22px;
    width: 100%;
    resize: none;
    /* overflow: hidden; */
    display: block;
    transition: height .15s ease;
    box-sizing: border-box;
    transform-origin: bottom;
}

    #chatInput::placeholder,
    #chatInput2::placeholder {
        color: #ffffff9a;
        opacity: 1;
    }

/* آیکن‌ها */
.icon-left1 {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #013248;
}

.icon-left {
    margin-right: 10px;
    font-size: 18px;
    cursor: pointer;
}

.icon-right {
    display: flex;
    align-items: center;
    gap: 17px !important;
}

.send-btn {
    background: black;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .send-btn i {
        color: white;
    }

/*  */
/*  */
/*  */
.chat-container {
    width: 100%;
    height: 70vh;
    max-height: 90vh;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}


.messages-box {
    padding: 18px;
    padding-bottom: 140px;
    overflow-y: auto;
    flex: 1 1 auto;
}

@media(max-width:768px) {
    .messages-box {
        margin-top: 80px !important;
    }
}

/* استایل پیام کاربر */
.user-msg {
    background: #4f616c;
    width: fit-content;
    display: block;
    padding: 10px 14px;
    border-radius: 14px;
    margin: 12px 0;
    max-width: 75%;
    margin-left: auto;
    color: white;
    word-break: break-word;
}

/* استایل پیام ربات / دیگران */
.bot-msg {
    text-align: right;
    padding: 10px 14px;
    border-radius: 14px;
    margin: 8px 0;
    width: fit-content;
    max-width: 75%;
    word-break: break-word;
    line-height: 31px;
    float: left;
    background: #00000042;
    color: #ffffff;
}

@media (max-width: 768px) {
    .user-msg, .bot-msg {
        max-width: 100%;
    }
}

.loader-box {
    position: relative;
    background-color: transparent;
    width: 120px;
    height: auto;
    float: left;
    display: flex;
    justify-content: flex-end
}

.bot-img {
    border-radius: 12px;
    overflow: hidden;
    max-width: 70%;
    width: fit-content;
    cursor: pointer;
}

@media(max-width:768px) {
    .bot-img {
        max-width: 95% !important;
    }

    .bot-msg {
        max-width: 100% !important;
    }
}


#chat-input-box {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0px;
    left: 0;
    width: 100%;
    position: fixed;
    right: 120px;
    /*bottom: 15%;*/
    /*padding: 30px 0;*/
    padding: 0;
    z-index: 40;
}

.bottom-180 {
    bottom: 180px !important;
}

.left-0 {
    left: 0px !important;
}

@media(max-width:1024px) {
    #chat-input-box {
        position: fixed;
        right: 0px;
        bottom: 0;
        padding: 0;
    }
}

@media(min-width:1024px) {
    #chat-input-box {
        right: 120px;
    }
}

.hiuser {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-weight: bold;
    /* position: absolute; */
    /* bottom: 100px;
  min-height: 100%; */
    /* overflow-y: scroll;
  direction: rtl;  */
    padding-bottom: 145px;
    bottom: 100px;
    min-height: 100vh;
}

    .hiuser h2 {
        font-weight: bold;
        color: white;
        text-shadow: 0px 3px 0px #006294, 0px -3px 0px #006294, 3px 0px 0px #006294, 0px 3px 0px #006294;
        /* -webkit-text-stroke: 2px #02384e; */
        font-size: 1.7rem;
    }

@media (max-width:450px) {
    .hiuser h2 {
        font-size: 17px;
    }
}

.hiuser h1 {
    background: linear-gradient(to right, #f2e5a2 0%, #d9b650 25%, #b88a28 50%, #e6d293 75%, #f2e5a2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-wrapper {
    background-color: #002135ad;
    width: 50%;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}



/* منو Add */
#addMenu {
    width: 180px;
    color: white;
    position: absolute;
    bottom: 58px;
    left: 12px;
    display: none;
    background: #28586be0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    z-index: 50;
}

#chatInput,
#chatInput2 {
    width: 100%;
    min-height: 45px;
    max-height: 200px;
    resize: none;
    overflow-y: auto;
    padding: 10px 14px;
    border-radius: 12px;
    /* border: 1px solid #ddd; */
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    text-align: right;
    direction: rtl;
    color: white;
}

    #chatInput::placeholder,
    #chatInput2::placeholder {
        direction: ltr;
        unicode-bidi: plaintext;
    }

    #chatInput:placeholder-shown,
    #chatInput2:placeholder-shown {
        direction: ltr;
    }

    #chatInput::-webkit-scrollbar,
    #chatInput2::-webkit-scrollbar {
        width: 8px;
        cursor: pointer;
    }

    #chatInput::-webkit-scrollbar-thumb,
    #chatInput2::-webkit-scrollbar-thumb {
        background: #012e47;
        border-radius: 4px;
        cursor: pointer;
    }

    #chatInput::-webkit-scrollbar-track,
    #chatInput2::-webkit-scrollbar-track {
        background: #dddddd7d;
        border-radius: 4px;
    }

/* آیکن‌ها */
.icon-left {
    margin-right: 8px;
    cursor: pointer;
    font-size: 18px;
}

.icon-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* دکمه ارسال */
.send-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.d2 {
    display: none;
}

@media(max-width:768px) {
    .send-btn {
        width: 30px;
        height: 30px;
    }

    .d2 {
        display: none;
    }
}

.send-btn .icon {
    color: #013248;
    font-size: 16px;
}


.messages-box .user-msg.new {
    display: block;
    opacity: 0;
    animation: fadeIn .25s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.pb-25 {
    padding-bottom: 22px !important;
}

.sidebar-header {
    padding-top: 13px !important;
    border-bottom: 3px solid #07516f;
    background-color: #083e5e;
}

.sidebarlist1 li a,
.sidebarlist2 li a {
    color: rgb(249, 249, 249);
    text-decoration: none;
    font-size: 13px;
}

.sidebarlist1 li,
.sidebarlist2 li {
    margin: 12px;
    width: 90%;
    cursor: pointer;
    font-size: 15px;
    text-align: right;
}

    .sidebarlist1 li:hover,
    .sidebarlist2 li:hover {
        border-radius: 10px;
        background-color: rgb(30 90 108 / 46%);
    }

.sidebarlist2 li {
    display: flex;
    /* flex-direction: row-reverse; */
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.8rem 0.7rem 1.2rem;
}

    .sidebarlist2 li .three-dots .icon {
        opacity: 0;
        transition: all 0.2s ease-in-out;
    }

    .sidebarlist2 li:hover .icon {
        opacity: 1;
    }

.chat-title {
    font-size: 14px;
    color: rgb(255, 255, 255);
    position: relative;
}

    .chat-title::before {
        content: "";
        width: 80%;
        height: 1px;
        background-color: #013248;
        position: absolute;
        border-radius: 8px;
        top: 0px;
        right: 10%;
    }

@media (max-width:768px) {
    .sidebarlist2 li .three-dots .icon {
        opacity: 1 !important;
    }
}

.pb-0 {
    padding-bottom: 0 !important;
}

/* .sidebarlist1 li  {
  direction: rtl;
} */
.sidebarlist1 li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 10001;
}

.image-actions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 25px;
    z-index: 10001;
}

.action-btn {
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/*  */
.chat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-item.active-chat {
        border-radius: 10px;
        background-color: rgb(32 97 114 / 81%);
    }

        .chat-item.active-chat .icon {
            opacity: 1 !important;
        }

.three-dots {
    cursor: pointer;
    padding: 5px;
    color: white;
    position: absolute;
    left: 0;
}

.chat-menu {
    position: absolute;
    top: 35px;
    left: -3px;
    background: #012e47;
    color: white;
    border-radius: 8px;
    width: 160px;
    box-shadow: 0 5px 15px rgb(0 0 0 / 35%);
    display: none;
    z-index: 200;
    padding: 8px 10px;
}

    .chat-menu .menu-item {
        border-radius: 10px;
        padding: 10px 12px;
        cursor: pointer;
        display: flex;
        gap: 8px;
        align-items: center;
    }

        .chat-menu .menu-item:hover {
            background: #00000030;
        }


.temp-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.5);
    /* بک‌گراند تیره */
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.modal-box {
    background: #01141e;
    padding: 25px;
    border-radius: 12px;
    width: 28rem;
    border: 1px solid rgb(1 34 52);
    color: white;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

    .modal-actions .yes,
    .modal-actions .no {
        padding: 8px 18px;
        border: none;
        border-radius: 3.40282e+38px;
        cursor: pointer;
        font-size: 12px;
    }

.yes {
    background: #0b2a33;
    color: white;
}

.no {
    background: #ccc;
}

.version {
    font-size: 13px;
    border: 2px solid #206172;
    border-radius: 12px;
    color: white;
    background-color: #013248;
    padding: 8px 19px;
    cursor: pointer;
}

@media (min-width:768px) {
    .mb-100 {
        margin-bottom: 195px;
    }
}

/*  */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    position: relative;
    animation: pulse 1s linear infinite;
}

    .loader:after {
        content: '';
        position: absolute;
        width: 48px;
        height: 48px;
        border: 5px solid #FFF;
        border-radius: 50%;
        display: inline-block;
        box-sizing: border-box;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: scaleUp 1s linear infinite;
    }

@media (max-width:500px) {
    .loader {
        width: 39px;
        height: 39px;
        border: 4px solid #FFF;
    }

        .loader:after {
            width: 39px;
            height: 39px;
            border: 4px solid #FFF;
        }
}

@keyframes scaleUp {
    0% {
        transform: translate(-50%, -50%) scale(0)
    }

    60%, 100% {
        transform: translate(-50%, -50%) scale(1)
    }
}

@keyframes pulse {

    0%, 60%, 100% {
        transform: scale(1)
    }

    80% {
        transform: scale(1.2)
    }
}

.bot-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.bot-subtitle {
    font-size: 14px;
    color: #e9e9e9;
    margin-bottom: 5px;
}

.bot-divider {
    height: 1px;
    background: #ddd;
    margin: 10px 0;
}

/* new style */

.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    display: none;
    z-index: 999;
}


.login-modal {
    position: fixed;
    width: 420px;
    min-height: 420px;
    height: auto;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1000;
    direction: rtl;
    align-items: stretch;
    flex-direction: column;
    justify-content: space-evenly;
    box-shadow: 0 0px 14px 11px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    background-size: cover;
    border-radius: 16px;
}

@media (max-width:550px) {
    .login-modal {
        width: 95%;
        height: 65%;
    }
}

.login-header {
    font-size: 25px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    color: white;
    position: relative;
    align-items: center
}

.close-modal {
    cursor: pointer;
    font-size: 24px;
    position: absolute;
    top: 9px;
    left: 15px;
    color: white;
}


.input-box {
    position: relative;
    margin-bottom: 15px;
}

    .input-box input {
        width: 100%;
        padding: 10px 38px 10px 10px;
        border-radius: 8px;
        border: none;
        outline: none;
        background: transparent;
        color: white;
    }

.input-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: white;
}


.login-btn {
    width: 100%;
    padding: 10px;
    /* background: #14374b; */
    color: white;
    border: 2px solid #0e1b22;
    /* border: none; */
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    background: #0000000f;
}

    .login-btn:hover {
        background: #0000003f;
    }

.explor-card {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #12364db3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: flex;
    margin-bottom: 18px;
    flex-direction: column;
}


.explor-card-image img {
    width: 100%;
    height: 168px;
    object-fit: cover;
    display: block;
}


.explor-card-body {
    padding: 12px 14px;
}

.explor-card-title {
    font-size: 17px;
    font-weight: bold;
    color: #e7e7e7;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}

.explor-card-text {
    font-size: 14px;
    /* line-height: 1.6; */
    color: #d2d2d2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
}


.explor-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.explor-card-date {
    font-size: 12px;
    color: #d8d8d8;
}


.explor-card-btn {
    font-size: 12px;
    color: #ffffff;
    text-decoration: none;
}

.pagination-box {
    width: fit-content;
    display: inline-flex;
    gap: 6px;
    padding: 8px 25px;
    background: #12364db3;
    border-radius: 32px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pagination-item {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

    .pagination-item:hover {
        background: #003551af;
    }

    .pagination-item.active {
        background: #003451;
        color: #fff;
        font-weight: 600;
    }

.padding-explor,
.padding-news {
    padding: 0 50px;
}

@media (max-width:768px) {
    .padding-explor {
        padding: 65px 32px 0 32px;
    }

    .padding-news {
        padding: 65px 20px 0 20px;
    }
}

@media (max-width:999px) {
    .hiuser {
        padding-bottom: 0;
    }

    .bottom-180 {
        bottom: 0 !important;
    }
}

.mb-75 {
    margin-bottom: 75px;
}

/* news-page */

.news-page-card {
    /* max-width: 900px; */
    margin: auto;
    /* background: #11354cba; */
    background-color: #3b444dd6;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 50px rgb(0 0 0 / 67%);
}

.news-page-card2 {
    padding: 20px 12px;
}

.news-header-image {
    overflow: hidden;
    border-radius: 16px;
}

    .news-header-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: 0.4s;
    }

    .news-header-image:hover img {
        transform: scale(1.05);
    }

.news-title {
    font-size: 22px;
    font-weight: bold;
    margin: 18px 0 10px;
    color: white;
    line-height: 35px;
}

.news-summary {
    font-size: 14px;
    line-height: 1.8;
    color: #e0e0e0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.news-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #e0e0e0;
}

    .news-meta-item .icon {
        font-size: 18px;
    }

.news-meta-author {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .news-meta-author img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }

    .news-meta-author span {
        font-size: 13px;
        color: #333;
    }


.news-divider {
    margin: 20px 0;
    border: none;
    border-top: 1px solid #eee;
}


.news-section {
    margin-bottom: 22px;
}

    .news-section h3 {
        font-size: 19px;
        margin-bottom: 8px;
        font-weight: bold;
        color: white;
    }

    .news-section p {
        font-size: 14px;
        line-height: 2.4;
        color: #dcdcdc;
        text-align: justify;
    }

.news-image-row {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

    .news-image-row img {
        width: 50%;
        border-radius: 12px;
        object-fit: cover;
        height: 250px;
    }

@media (max-width:768px) {
    .news-image-row {
        flex-direction: column;
    }

        .news-image-row img {
            width: 100%;
            height: auto;
        }

    .news-title, .news-section h3 {
        font-size: 18px;
    }

    .news-summary {
        font-size: 13px;
    }

    .news-section p {
        font-size: 13px;
    }
}

.sidebar-category-list2 {
    background: #00000024;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    transition: all 0.2s ease-in;
}

    .sidebar-category-list2 img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .sidebar-category-list2 a {
        /* flex: 1; */
        font-size: 13px;
        font-weight: bold;
        color: white;
        text-decoration: none;
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 7px;
    }

    .sidebar-category-list2 .news-meta-item,
    .sidebar-category-list2 .news-meta-item .icon {
        gap: 3px;
        font-size: 12px;
    }

    .sidebar-category-list2:hover {
        background: #11354cba;
    }

.sidebar-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

@media (min-width:999px) {
    .pd-0 {
        padding: 0;
    }
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #013248;
    border-radius: 12px;
    padding: 10px 14px;
    max-width: 100%;
    background: #3a444f;
    transition: 0.3s;
}

    .search-box .icon {
        color: #888;
        font-size: 16px;
    }

    .search-box input {
        border: none;
        outline: none;
        width: 100%;
        font-size: 14px;
        font-family: inherit;
        background: transparent;
        color: white;
    }

    .search-box:focus-within {
        border-color: #013248;
        box-shadow: 0 0 0 3px rgba(0, 39, 94, 0.473);
    }

.tag-list {
    background: #083e5e;
    color: white;
    padding: 5px 15px;
    border-radius: 10px;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
    font-size: 13px;
}

.title-blog-tags {
    margin: 0;
    color: white;
    font-weight: bold;
}

.list-news {
    list-style: none;
    padding: 0;
}

    .list-news li::before {
        content: "";
        display: inline-block;
        margin-left: 6px;
        margin-bottom: 2px;
        width: 6px;
        height: 6px;
        background: #012e47;
        border-radius: 50%;
    }

.margin-t {
    margin-top: 110px !important;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
    /* border: 1.5px solid #ddd; */
    border-radius: 9px;
    padding: 3px 0px;
    background: #000b11ad;
    transition: all 0.3s ease-in-out;
}

.input-icon {
    width: 16px;
    color: #777;
    margin-right: 6px;
}

.send-code-btn {
    border: none;
    background: #042539;
    color: #fff;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

    .send-code-btn:hover {
        background: #05324e;
    }

.input-box:focus-within {
    /* border-color: #00193f; */
    box-shadow: 0 0 20px 0px rgb(0 0 0 / 45%);
}

.font-13 {
    font-size: 13px;
    color: rgb(200, 200, 200) !important;
}

#login-btn, .login-blue-btn {
    font-size: 13px;
    background-color: transparent;
    color: #4486b3;
    font-weight: bold;
    border: none;
    background-color: transparent;
    border: 1px solid;
    border-radius: 5px;
}

input.placeholder-rtl--only::placeholder,
textarea.placeholder-rtl--only::placeholder,
.placeholder-rtl--only::placeholder {
    text-align: right;
    opacity: 1;
}
