/* === FONTS START === */
@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Black.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Bold.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-ExtraBold.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Heavy.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Heavy.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Light.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Medium.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-Regular.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-SemiBold.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Morabba';
    src: url('../../fonts/Morabba/woff2/Morabba-UltraLight.woff2') format('woff2'),
    url('../../fonts/Morabba/woff/Morabba-UltraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

/* === FONTS END === */

/* === BASE ELEMENTS START === */
body {
    font-family: 'Morabba', sans-serif;
    overflow-x: hidden;
}

.custom-container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.right-align {
    text-align: right;
    width: 100%;
    margin-right: 10%;
    font-size: 1.2rem;
}

.justify {
    text-align: justify;
}

.bold-title {
    font-weight: bold;
    font-size: 2rem;
}

.middle-column {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
}

.text-center h5 {
    margin: 0;
}

@media (max-width: 576px) {
    .custom-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* === BASE ELEMENTS END === */

/* === NAVBAR & NAVIGATION START === */
.navbar {
    background-color: #363636;
    height: 85px;
}

.navbar .nav-link {
    color: white;
}

.navbar-nav .nav-link.active {
    color: #C00D0E;
}

.nav-item {
    padding: 0 10px;
    font-size: 1.1em;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-link:hover, .dropdown-item:hover {
    color: #C00D0E;
}

.navbar-brand img {
    height: 56px;
    object-fit: contain;
}

.navbar-toggler {
    background-color: transparent;
    border: none;
    width: 40px;
    height: 40px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.navbar-toggler:not(.collapsed) {
    background-color: #555;
}

.navbar-toggler-icon {
    position: relative;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    position: absolute;
    width: 25px;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    top: 8px;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.dropdown-menu {
    background-color: #222;
    color: #eee;
    border-radius: 0.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    padding: 0.5rem 0;
    margin-top: 0;
}

.dropdown-menu .dropdown-item {
    color: #eee;
    margin: 5px 0;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #444;
    color: #fff;
    transition: background-color 0.3s ease;
}

.dropdown-item:focus, .dropdown-item:active {
    background-color: #6c757d;
    color: white;
}

@media (max-width: 768px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70vw;
        background-color: #363636;
        z-index: 1050;
        padding: 1rem;
        overflow-y: auto;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
    }

    .navbar-collapse.show {
        transform: translateX(0);
    }

    body.offcanvas-open {
        overflow: hidden;
    }
}

/* === NAVBAR & NAVIGATION END === */

/* === CARDS & GRADIENTS START === */
.col-custom {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.red-background {
    background-color: #C00D0E;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-right-radius: 30px;
}

.red-background h5 {
    margin-bottom: .3rem;
}

.red-divider {
    height: 2px;
    background-color: #C00D0E;
    width: 100%;
}

.bg-danger-custom {
    background-color: #C00D0E;
}

.bg-light-custom {
    background-color: #eaeaea;
}

.link-muted {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-muted:hover, .link-muted:focus {
    color: #555;
    outline: none;
}

.orangeGradient {
    background: radial-gradient(circle, #F9C566, #E48724);
}

.greenGradient {
    background: radial-gradient(circle, #64ED8B, #30C187);
}

.blueGradient {
    background: radial-gradient(circle, #5AD6F9, #1EA8D6);
}

.blackGradient {
    background: radial-gradient(circle, #2c2c2c, #373737);
}

.pinkGradient {
    background: radial-gradient(circle, #F38080, #E56060);
}

/* === CARDS & GRADIENTS END === */

/* === BUTTONS & HELP START === */
.btn-custom {
    position: relative;
    background-color: black;
    color: white;
    font-size: 0.8rem;
}

.btn-large {
    font-size: 1.2rem;
}

.btn-outline-gray-shadow {
    position: relative;
    background-color: transparent;
    border: 1px solid #ccc;
    color: #333;
    transition: box-shadow 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.btn-outline-gray-shadow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.02);
    border-color: #ccc;
}

.btn-outline-gray-shadow:focus, .btn-outline-gray-shadow:active {
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.05);
    border-color: #ccc;
}

.btn-outline-gray-shadow .support-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 1px solid #ccc;
    color: #555;
    pointer-events: none;
}

.btn-outline-gray-shadow .support-icon .notification-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 10px;
    height: 10px;
    background-color: #C00D0E;
    border-radius: 50%;
    z-index: 2;
}

.btn-outline-gray-shadow .support-icon .notification-dot .notification-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #C00D0E;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ping 1.2s infinite ease-out;
    opacity: 0.6;
    z-index: 1;
}

@keyframes ping {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    80% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

/* === BUTTONS & HELP END === */

/* === EFFECTS START === */
.top-right-image {
    position: absolute;
    top: 30px;
    right: 0;
    width: 80px;
    height: auto;
}

.zoom {
    transition: transform 0.3s ease;
}

.zoom:hover {
    transform: scale(1.04);
    z-index: 1;
}

.shine {
    position: relative;
    overflow: hidden;
}

.shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    z-index: 0;
    pointer-events: none;
}

.shine:hover::before {
    animation: shineAnimation 1s ease-in-out;
}

.shine > * {
    z-index: 1;
}

@keyframes shineAnimation {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* === EFFECTS END === */

/* === MAIN SWIPER SLIDER START === */
.swiper {
    width: 100%;
    height: auto;
    border-radius: 10px;
    overflow: hidden;
}

.swiper-pagination {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 20;
}

.swiper-pagination-bullet {
    width: 15px !important;
    height: 15px !important;
    background-color: #bbb !important;
    cursor: pointer;
    transition: background-color 0.3s;
}

.swiper-pagination-bullet-active {
    background-color: #932121;
}

.slider-pagination-bg {
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 30px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(68, 68, 68, 0.5);
    z-index: 10;
    pointer-events: none;
}

.slider-pagination-bg .slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #932121;
    width: 0%;
    animation: sliderProgressAnimation 5s linear infinite;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

@keyframes sliderProgressAnimation {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* === MAIN SWIPER SLIDER END === */

/* === CLIENTS BRAND START === */
.client-image {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    filter: grayscale(100%) opacity(60%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.client-image:hover {
    filter: grayscale(0%) opacity(100%);
    transform: translateY(-5px);
    border-color: #a30707;
    background-color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.clients-title {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

/* === CLIENTS BRAND END === */

/* === BUSINESS SCHOOL START === */
@media (min-width: 768px) {
    .grid-template {
        grid-template-columns: repeat(12, 1fr);
        display: grid;
    }

    .col-md-6 {
        grid-column: span 6;
    }

    .col-md-3 {
        grid-column: span 3;
    }
}

.business-school {
    font-size: 2rem;
    color: #000000;
}

.coming-soon {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .business-school {
        font-size: 1rem;
    }

    .coming-soon {
        font-size: 1.5rem;
    }

    .right-align {
        font-size: 0.6rem;
    }
}

/* === BUSINESS SCHOOL END === */

/* === TEACHERS & COURSES NEW STYLE START === */
.custom-course-card {
    border-radius: 0px !important;
    border: 1px solid rgba(44, 44, 44, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 35px;
}

.custom-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

/* هدر کارت */
.card-header-overflow {
    position: relative;
    height: 45px;
}

.instructor-profile-box {
    position: relative;
    top: -20px;
}

.teacher-avatar-box {
    z-index: 5;
}

.teacher-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid #ffffff;
    border-radius: 0px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.teacher-name-badge {
    background-color: #C00D0E;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 0px !important;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(192, 13, 14, 0.2);
    display: inline-flex;
    align-items: center;
    height: fit-content;
    align-self: center;
    transform: translateX(-12px);
    position: relative;
    z-index: 6;
}

.course-name-overflow {
    position: relative;
    top: -20px;
    z-index: 5;
}

.badge-course-name {
    background-color: #2c2c2c;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 0px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid #C00D0E;
}

/* بدنه اطلاعات اصلی کارت */
.card-main-content {
    width: 100%;
}

.course-type-title {
    color: #2c2c2c;
    font-size: 15px;
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 10px !important;
}

.course-details-list p {
    margin-bottom: 5px !important;
}

.course-details-list p:last-child {
    margin-bottom: 0 !important;
}

.small-icon {
    color: rgba(44, 44, 44, 0.4);
    width: 15px;
}

/* ⭐ استایل کادر عمودی اختصاصی کُد دوره (چسبیده به بالای دکمه ثبت نام و لبه چپ) ⭐ */
.course-code-vertical-badge {
    position: absolute;
    bottom: 5px;
    left: -10px;
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 10px 5px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 0px !important; /* لبه کاملاً تیز */
    border-right: 2px solid #C00D0E; /* خط تاکید قرمز یاقوتی روی لبه بیرونی */
    box-shadow: -3px 3px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;

    /* تبدیل متن به حالت عمودی لوکس و استاندارد بدون چرخاندن ترنسفرمی */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    letter-spacing: 1px;
}

.card-action-bar {
    width: 100%;
    padding: 0;
    margin-top: 15px;
}

.btn-custom-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    min-width: 130px;
    font-weight: bold;
    font-size: 14px;
    border: none !important;
    border-radius: 0px !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

a.btn-custom-action.btn-dark {
    background-color: #2c2c2c !important;
    color: #ffffff !important;
}

a.btn-custom-action.btn-dark:hover {
    background-color: #C00D0E !important;
}

button.btn-custom-action.btn-secondary {
    background-color: #e0e0e0 !important;
    color: #888888 !important;
    cursor: not-allowed;
}

@media (max-width: 400px) {
    .teacher-name-badge {
        font-size: 0.65rem;
        padding: 4px 6px;
        transform: translateX(6px);
    }

    .badge-course-name {
        font-size: 0.7rem;
    }
}

/* === TEACHERS & COURSES NEW STYLE END === */

/* === VIDEO BOX START === */
.video-box {
    max-width: 640px;
    margin: 30px auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: transparent;
    padding: 0;
    box-sizing: border-box;
}

.video-box video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    background: transparent;
    outline: none;
    position: relative;
    z-index: 1;
}

.cover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* === VIDEO BOX END === */

/* === WORKSHOP START === */
.swiper-container-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

.swiper-container-wrapper::before,
.swiper-container-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15%;
    z-index: 20;
    pointer-events: none;
}

.swiper-container-wrapper::before {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.swiper-container-wrapper::after {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.mySwiper2 {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    overflow: visible !important;
}

.mySwiper2 .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.workshop-box {
    background-color: #262626;
    color: white;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row-reverse;
    padding: 20px 40px;
    width: 100%;
    max-width: 850px;
    margin: 20px 10px;
    height: 220px;
    overflow: visible !important;
    box-sizing: border-box;
    direction: rtl;
}

.workshop-img {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 12px;
    width: 240px;
    height: 300px;
    object-fit: cover;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.workshop-content {
    text-align: right;
    flex: 1;
    padding-right: 10px;
    padding-left: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workshop-content p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #e0e0e0;
}

.workshop-content h1 {
    font-size: 2.3rem;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.a2c-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.btn-red {
    background-color: #C00D0E;
    color: white;
    border: none;
    padding: 8px 30px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-red:hover {
    background-color: #93191e;
    transform: translateY(-1px);
}

.a2c-box {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.a2c-text {
    color: #b3b3b3;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.a2c-text:hover {
    color: #ffffff;
    text-decoration: underline;
}

.workshop-swiper-next,
.workshop-swiper-prev {
    display: none !important;
}

@media (max-width: 768px) {
    .swiper-container-wrapper {
        padding: 40px 0;
    }

    .swiper-container-wrapper::before,
    .swiper-container-wrapper::after {
        width: 8%;
    }

    .workshop-box {
        flex-direction: column;
        height: auto;
        padding: 20px 20px 25px;
        margin: 80px 0 20px 0;
    }

    .workshop-img {
        position: relative;
        transform: none;
        top: -60px;
        left: 0;
        width: 180px;
        max-width: 100%;
        height: auto;
        aspect-ratio: 240 / 300;
        margin-bottom: -40px;
    }

    .workshop-content {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
        width: 100%;
    }

    .a2c-row {
        justify-content: center;
        margin-top: 15px;
    }

    .workshop-swiper-next,
    .workshop-swiper-prev {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        color: #C00D0E !important;
        width: 38px !important;
        height: 38px !important;
        flex-shrink: 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        top: 50% !important;
        transform: translateY(-50%) !important;
        bottom: auto !important;
        z-index: 999 !important;
        pointer-events: auto !important;
    }

    .workshop-swiper-next::after,
    .workshop-swiper-prev::after {
        font-size: 14px !important;
        font-weight: bold !important;
        line-height: 1 !important;
        display: block !important;
    }

    .workshop-swiper-next {
        right: 10px !important;
        left: auto !important;
    }

    .workshop-swiper-prev {
        left: 10px !important;
        right: auto !important;
    }

    .swiper-container-wrapper {
        padding-bottom: 40px !important;
    }
}

/* === WORKSHOP END === */

/* === SEARCH SMART START (تلفیق شده و اصلاح‌شده) === */
.search-container {
    padding: 20px 20px;
    display: flex;
    flex-direction: column; /* تغییر به حالت ستونی برای قرار گرفتن متن راهنما در زیر سطر */
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

/* باکس والد جدید برای قفل کردن المان‌ها در یک خط واحد (دسکتاپ و موبایل) */
.search-row-wrapper {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
    flex-wrap: nowrap !important; /* جلوگیری قطعی از شکستن خط */
    direction: rtl;
}

.search-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex-shrink: 0; /* جلوگیری از فشرده شدن باکس در موبایل */
}

.search-button-label {
    font-size: 25px;
    color: #000;
    margin-top: -35px;
    position: absolute;
    z-index: 2;
}

.search-button {
    background-color: #e5e5e5;
    color: #000;
    font-weight: bold;
    font-size: 34px;
    padding: 0 20px;
    border: none;
    margin-top: 5px !important;
    border-radius: 4px;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.search-button span {
    position: relative;
    margin-right: -40px;
    margin-top: -40px;
}

.arrow-container {
    position: absolute;
    z-index: 2;
    margin-right: -30px;
}

.search-arrow {
    width: 40px;
    height: auto;
    position: absolute;
    margin-top: -2px;
}

/* ساختار گروهی متصل‌کننده اینپوت و دکمه قرمز */
.search-input-group {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
}

.search-input-group .input-wrapper {
    position: relative;
    margin: 0 !important;
    margin-top: 5px !important;
}

.custom-input {
    width: 120px;
    height: 35px; /* تنظیم ارتفاع ثابت برای همترازی با دکمه */
    font-size: 14px;
    padding: 6px;
    border: 1px solid #9d9d9d;
    outline: none;
    box-shadow: none;
    border-top-left-radius: 0px !important; /* تیز کردن لبه چپ برای چسبیدن به دکمه */
    border-bottom-left-radius: 0px !important;
    border-left: none; /* حذف خط مرزی مشترک */
    margin: 0 !important;
}

.custom-input:focus {
    border: 1px solid #9d9d9d;
    outline: none;
    box-shadow: none;
}

/* دکمه جستجوی قرمز جدید - کاملاً چسبیده و هماهنگ */
.btn-search-submit {
    background-color: #C00D0E;
    color: #ffffff !important;
    border: 1px solid #9d9d9d; /* هماهنگ با بوردر اینپوت */
    font-size: 14px;
    font-weight: bold;
    padding: 0 15px;
    border-radius: 0px !important; /* لبه‌های کاملاً تیز تیک‌دار */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    height: 35px; /* دقیقاً هم‌ارتفاع با اینپوت */
    margin: 0 !important;
    margin-top: 5px !important;
    white-space: nowrap;
    flex-shrink: 0;
}

/* افکت هاور دکمه قرمز */
.btn-search-submit:hover {
    background-color: #9e0a0b;
}

/* افکت کلیک دکمه قرمز */
.btn-search-submit:active {
    background-color: #2c2c2c !important;
    border-color: #2c2c2c;
}

.description-text {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* بهینه‌سازی ریسپانسیو اختصاصی برای فونت‌های بزرگ در موبایل‌های کوچک */
@media (max-width: 480px) {
    .search-container {
        padding: 15px 3px; /* کمتر کردن پدینگ محیطی در موبایل */
    }
    .search-row-wrapper {
        gap: 1px;
    }
    .search-button {
        font-size: 24px; /* کمی کوچک‌تر شدن دکمه خاکستری بزرگ فقط در موبایل برای جا شدن */
        padding: 0 12px;
    }
    .search-button-label {
        font-size: 18px;
        margin-top: -26px;
    }
    .search-arrow {
        width: 30px;
    }
    .custom-input {
        width: 95px; /* کمی جمع‌تر شدن فیلد متنی در موبایل */
    }
    .btn-search-submit {
        font-size: 12px;
        padding: 0 8px;
    }
}
/* === SEARCH SMART END === */

/* === REGISTRATION MODAL START === */
#registrationModal .modal-content {
    background-color: #ffffff;
    border: none;
    border-radius: 0px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#registrationModal .modal-header {
    background-color: #363636;
    border-bottom: 4px solid #C00D0E;
    border-radius: 0px !important;
    padding: 20px 24px;
}

#registrationModal .modal-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
}

#registrationModal .btn-close {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 0px !important;
    padding: 10px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    opacity: 0.8;
}

#registrationModal .btn-close:hover {
    background-color: #ffffff;
    opacity: 1;
    transform: scale(1.05);
}

#registrationModal .modal-body {
    color: #363636;
    padding: 30px 24px;
    font-size: 1rem;
    line-height: 1.8;
}

#registrationModal .modal-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-radius: 0px !important;
    padding: 15px 24px;
    gap: 12px;
}

#registrationModal .modal-footer .btn {
    padding: 12px 28px;
    font-weight: 600;
    border-radius: 0px !important;
    transition: all 0.2s ease;
}

#registrationModal .btn-dark {
    background-color: #363636 !important;
    color: #ffffff;
}

#registrationModal .btn-dark:hover {
    background-color: #222222 !important;
    box-shadow: 0 4px 12px rgba(54, 54, 54, 0.2);
}

#registrationModal .btn-danger {
    background-color: #C00D0E !important;
    color: #ffffff;
}

#registrationModal .btn-danger:hover {
    background-color: #9c0a0b !important;
    box-shadow: 0 4px 12px rgba(192, 13, 14, 0.25);
}

/* === REGISTRATION MODAL END === */

/* === FOOTER LINKS & UTILITIES START === */
.footer-menu-column h5 {
    color: #363636;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-menu-column h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 3px;
    background-color: #C00D0E;
}

.footer-menu-list {
    padding-right: 0;
    margin-bottom: 0;
}

.footer-menu-list li {
    margin-bottom: 6px;
}

.footer-menu-list li a {
    color: #555555;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding: 2px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-menu-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #C00D0E;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-menu-list li a:hover {
    color: #C00D0E;
    transform: translateX(-5px);
}

.footer-menu-list li a:hover::after {
    width: 100%;
}

.designer-info-link {
    color: #C00D0E;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.designer-info-link:hover {
    color: #363636;
    border-bottom-color: #C00D0E;
}

.btn-back-to-top {
    background-color: #363636;
    color: #ffffff;
    border: none;
    border-radius: 0px !important;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-back-to-top:hover {
    background-color: #C00D0E;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(192, 13, 14, 0.3);
}

.btn-back-to-top i {
    transition: transform 0.3s ease;
}

.btn-back-to-top:hover i {
    transform: translateY(-3px);
}

.col-md p {
    color: #666666;
    font-size: 0.9rem;
}

.social-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-row .col {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-row span {
    font-weight: bold;
    margin-left: 20px;
    white-space: nowrap;
}

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    font-size: 18px;
    color: #333;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #414141;
}

/* === FOOTER LINKS & UTILITIES END === */


/* === FOOTER ENAMAD BOX START === */
.footer-enamad-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

.enamad-card-box {
    background-color: #ffffff;
    border-left: 4px solid #C00D0E;
    border-radius: 0px !important;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 5px 20px rgba(54, 54, 54, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    height: 100%;
    max-width: 150px;
}

.enamad-card-box:hover {
    transform: translateY(-4px);
    box-shadow: -5px 8px 25px rgba(192, 13, 14, 0.15);
}

.enamad-card-box img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    filter: grayscale(100%) opacity(80%);
    transition: filter 0.4s ease, transform 0.3s ease;
}

.enamad-card-box:hover img {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.03);
}

@media (max-width: 991.98px) {
    .footer-enamad-container {
        justify-content: center;
        margin-top: 20px;
    }

    .enamad-card-box {
        max-width: 100%;
        height: auto;
        padding: 20px;
        border-left: none;
        border-bottom: 4px solid #C00D0E;
    }
}

/* === FOOTER ENAMAD BOX END === */


/* === HIRING FORM CSS START === */
.hiring-form-container {
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(44, 44, 44, 0.05);
    border: 1px solid rgba(44, 44, 44, 0.1);
}

/* استایل فیلدهای ورودی و سلکتورها */
.hiring-custom-form .form-control {
    background-color: #ffffff;
    border: 1px solid rgba(44, 44, 44, 0.2);
    color: #2c2c2c;
    font-size: 14px;
    padding: 12px 15px;
    height: auto;
    border-radius: 0px !important; /* لبه‌های کاملاً تیز */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* حالت فوکوس روی فیلدها با رنگ قرمز یاقوتی */
.hiring-custom-form .form-control:focus {
    background-color: #ffffff;
    border-color: #C00D0E !important;
    box-shadow: -4px 4px 0px rgba(192, 13, 14, 0.15) !important;
    color: #2c2c2c;
}

/* متن جابجایی داخل فیلدها (Placeholder) */
.hiring-custom-form .form-control::placeholder {
    color: rgba(44, 44, 44, 0.5);
    font-size: 13px;
}

/* استایل فیلدهای انتخابی (Select) */
.hiring-custom-form select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232c2c2c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 16px;
    padding-left: 40px;
}

/* بخش آپلود فایل */
.file-upload-wrapper {
    background-color: rgba(44, 44, 44, 0.02);
    border: 1px dashed rgba(44, 44, 44, 0.2);
    padding: 15px;
    border-radius: 0px !important;
}

.upload-label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.upload-info-box {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.upload-info-box span {
    font-size: 11px;
    color: rgba(44, 44, 44, 0.6);
}

.file-input {
    padding: 6px 12px !important;
}

/* دکمه ارسال با استایل هندسی و قرمز یاقوتی */
/* دکمه ارسال در حالت عادی */
.btn-hiring-submit {
    background-color: #C00D0E;
    color: #ffffff !important;
    border: none;
    font-size: 16px;
    font-weight: bold;
    padding: 14px 35px;
    border-radius: 0px !important; /* دور تیز */
    cursor: pointer;
    width: 100%;
    max-width: 250px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(192, 13, 14, 0.2);
}

/* دکمه در حالت هاور (رفتن موس روی آن) */
.btn-hiring-submit:hover {
    background-color: #9e0a0b;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(192, 13, 14, 0.3);
}

/* دکمه دقیقاً در لحظه کلیک شدن (Active) */
.btn-hiring-submit:active {
    background-color: #2c2c2c !important; /* تغییر رنگ به تیره زغالی شما */
    color: #ffffff !important;
    border-bottom: 3px solid #C00D0E !important; /* خط تاکید قرمز زیر دکمه در لحظه کلیک */
    transform: translateY(1px); /* افکت فرو رفتن دکمه هنگام فشرده شدن */
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* پیام‌های خطا (زیر هر فیلد) */
.form-error-msg {
    color: #C00D0E !important;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 500;
    display: block;
}

/* باکس هشدارهای عمومی */
.alert-hiring-success {
    background-color: #ffffff;
    border: 1px solid #198754;
    border-right: 5px solid #198754;
    color: #198754;
    border-radius: 0px !important;
    padding: 15px;
}

.alert-hiring-danger {
    background-color: #ffffff;
    border: 1px solid #C00D0E;
    border-right: 5px solid #C00D0E;
    border-radius: 0px !important;
    padding: 20px;
}

.alert-hiring-danger .alert-title {
    color: #C00D0E;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .hiring-form-container {
        padding: 20px 15px;
    }

    .btn-hiring-submit {
        max-width: 100%;
    }
}

/* === HIRING FORM CSS END === */


/* === USER PANEL DROPDOWN CLICKABLE START === */
.user-panel-dropdown {
    position: relative;
    display: inline-block;
}

/* تبدیل به دکمه واقعی و غدغن کردن لبه‌های گرد */
.user-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 140px;
    padding: 10px 20px;
    border-radius: 0px !important;
    cursor: pointer;
    outline: none;
}

.user-dropdown-toggle .dropdown-arrow {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.85rem;
}

/* بدنه اصلی منوی زیرمجموعه */
.user-custom-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: block;
    min-width: 180px;
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: #2c2c2c; /* رنگ مشکی زغالی */
    border-top: 3px solid #C00D0E; /* خط قرمز یاقوتی */
    border-radius: 0px !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    /* تنظیمات انیمیشن نرم برای حالت بسته */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(10px);
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.3s;
}

/* فعال شدن منو هنگام کلیک (افکت باز شدن کشویی نرم) */
.user-panel-dropdown.active .user-custom-dropdown-menu {
    max-height: 300px; /* مقداری بیشتر از ارتفاع کل منو جهت باز شدن کامل */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* چرخیدن فلش زمان فعال بودن */
.user-panel-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* استایل آیتم‌های منو */
.user-custom-dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    color: #eeeeee;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-right: 3px solid transparent;
}

.user-custom-dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #C00D0E;
    border-right-color: #C00D0E;
    padding-right: 23px;
}

.user-custom-dropdown-menu li a.logout-link:hover {
    color: #ff4d4d;
    border-right-color: #ff4d4d;
}

.user-custom-dropdown-menu .divider-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

/* موبایل و رسپانسیو */
@media (max-width: 991.98px) {
    .user-panel-dropdown {
        width: 100%;
        margin-top: 5px;
    }

    .user-dropdown-toggle {
        width: 100%;
    }

    .user-custom-dropdown-menu {
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.15);
        border-top: none;
        border-right: 2px solid #C00D0E;
    }
}

/* === USER PANEL DROPDOWN CLICKABLE END === */


/* === VIEW ALL COURSES BUTTON START === */
.btn-view-all-courses {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #2c2c2c !important; /* رنگ تیره زغالی اختصاصی شما */
    border: 2px solid #2c2c2c;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 0px !important; /* لبه‌های کاملاً تیز */
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* آیکون فلش داخل دکمه */
.btn-view-all-courses .arrow-icon {
    font-size: 13px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

/* ایجاد لایه رنگی قرمز که هنگام هاور از راست به چپ باز می‌شود */
.btn-view-all-courses::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0; /* شروع حرکت از راست به چپ در قالب RTL */
    width: 0;
    height: 100%;
    background-color: #C00D0E; /* رنگ قرمز یاقوتی شما */
    z-index: -1;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* حالت هاور (Hover) دکمه */
.btn-view-all-courses:hover {
    color: #ffffff !important; /* سفید شدن متن */
    border-color: #C00D0E; /* قرمز شدن خط دور کادر */
    box-shadow: -5px 5px 0px rgba(192, 13, 14, 0.15); /* سایه تخت تیز قرمز */
}

/* باز شدن لایه قرمز رنگ هنگام هاور */
.btn-view-all-courses:hover::before {
    width: 100%;
}

/* افکت پرتابی و حرکتی آیکون فلش به سمت چپ هنگام هاور */
.btn-view-all-courses:hover .arrow-icon {
    transform: translateX(-6px);
    color: #ffffff;
}

/* حالت کلیک شدن روی دکمه (Active) */
.btn-view-all-courses:active {
    transform: translateY(1px);
    box-shadow: -2px 2px 0px rgba(192, 13, 14, 0.2);
}

/* === VIEW ALL COURSES BUTTON END === */
/* === SMART SEARCH BUTTON ADDITION === */
.btn-search-submit {
    background-color: #C00D0E;
    color: #ffffff !important;
    border: none;
    font-size: 14px;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 0px !important; /* لبه‌های تیز هماهنگ با هویت بصری پنتا‌ال‌ام‌اس */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(192, 13, 14, 0.2);
    height: 35px; /* هماهنگ با ارتفاع اینپوت مچ شده */
}

/* افکت هاور دکمه جستجو */
.btn-search-submit:hover {
    background-color: #9e0a0b;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(192, 13, 14, 0.3);
}

/* افکت لحظه کلیک فشرده شدن دکمه (Active) */
.btn-search-submit:active {
    background-color: #2c2c2c !important; /* تغییر رنگ به زغالی لوکس قالب در لحظه کلیک */
    border-bottom: 2px solid #C00D0E !important;
    transform: translateY(1px);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.btn-search-submit i {
    font-size: 14px;
}
/* ==================================== */

/* === FOOTER CONTACT & ADDRESS STYLE START === */
.footer-contact-wrapper {
    direction: rtl;
    margin-bottom: 25px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    background-color: rgba(44, 44, 44, 0.03); /* هماهنگ با فلکس باکس‌های کم‌رنگ دسکتاپ */
    border-right: 3px solid #C00D0E; /* خط تاکید قرمز یاقوتی کاملا تیز */
    padding: 12px 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.footer-contact-item:hover {
    background-color: rgba(44, 44, 44, 0.06);
    transform: translateX(-4px); /* افکت حرکتی هماهنگ با بقیه آیتم‌های فوتر */
    box-shadow: -4px 4px 12px rgba(0, 0, 0, 0.03);
}

.contact-icon-box {
    width: 40px;
    height: 40px;
    background-color: #2c2c2c; /* زغالی لوکس قالب */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 15px;
    transition: background-color 0.3s ease;
}

.footer-contact-item:hover .contact-icon-box {
    background-color: #C00D0E; /* تغییر رنگ آیکون به قرمز هنگام هاور */
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.contact-label {
    font-size: 11px;
    color: #888888;
    margin-bottom: 4px;
    font-weight: 500;
}

.contact-link {
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;
    transition: color 0.2s ease;
    direction: ltr;
    display: inline-block;
}

.contact-link:hover {
    color: #C00D0E;
}

.contact-address-text {
    color: #555555;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

/* بهینه‌سازی برای نمایشگرهای کوچک */
@media (max-width: 576px) {
    .footer-contact-item {
        padding: 10px 12px;
    }
    .contact-address-text {
        font-size: 13px;
    }
    .contact-link {
        font-size: 14px;
    }
}
/* === FOOTER CONTACT & ADDRESS STYLE END === */
/* === BLOG OVERFLOW DATE BADGE START === */
.image-wrapper {
    position: relative;
    width: 100%;
}

.blog-date-badge {
    position: absolute;
    /* تنظیم میزان بیرون‌زدگی از سمت چپ کارت */
    left: -12px;
    /* تنظیم فاصله از بالای کارت */
    top: 20px;
    background-color: #2c2c2c; /* مشکی زغالی لوکس قالب */
    color: #ffffff;
    padding: 8px 6px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 0px !important; /* لبه‌های کاملا تیز تیک‌دار */
    border-right: 3px solid #C00D0E; /* خط تاکید قرمز یاقوتی شما */
    box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.25);
    z-index: 10;

    /* نمایش حالت عمودی لوکس و استاندارد متن */
    writing-mode: vertical-rl;
    text-orientation: mixed;
    white-space: nowrap;
    letter-spacing: 1px;
    transition: transform 0.3s ease;
}

/* افکت حرکتی ظریف هنگام هاور روی کارت */
.custom-course-card:hover .blog-date-badge {
    transform: translateY(-2px);
    background-color: #C00D0E; /* تغییر رنگ بک‌گراند به قرمز یاقوتی */
    border-right-color: #2c2c2c; /* تغییر رنگ خط تاکید به زغالی */
}
/* === FIX TITLE TO SINGLE LINE === */
.text-truncate-single {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100%;
}/* === BLOG SECTION OPTIMIZATIONS & SHAPES === */

/* حذف پس‌زمینه خاکستری و ایجاد پس‌زمینه اختصاصی */
.blog-posts-section {
    background-color: #ffffff;
}

/* اشکال مربعی پس‌زمینه هماهنگ با هویت بصری تیز پنتا‌ال‌ام‌اس */
.blog-posts-section .square-shape-1 {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: rgba(44, 44, 44, 0.02); /* زغالی فوق‌العاده کم‌رنگ */
    border: 1px solid rgba(44, 44, 44, 0.04);
    transform: rotate(15deg);
    top: -50px;
    right: -100px;
    z-index: 1;
    pointer-events: none;
}

.blog-posts-section .square-shape-2 {
    position: absolute;
    width: 200px;
    height: 200px;
    background-color: rgba(192, 13, 14, 0.015); /* قرمز یاقوتی فوق‌العاده کم‌رنگ */
    border: 1px solid rgba(192, 13, 14, 0.03);
    transform: rotate(45deg);
    bottom: -30px;
    left: -50px;
    z-index: 1;
    pointer-events: none;
}

/* کوچک‌تر کردن عنوان اصلی بخش */
.blog-section-heading {
    font-size: 1.45rem !important;
    font-weight: 800;
}

/* خط قرمز صاف و تیز زیر عنوان */
.section-title-wrapper {
    position: relative;
    display: inline-block;
}

.title-red-line {
    width: 45px;
    height: 3px;
    background-color: #C00D0E; /* قرمز یاقوتی شما */
    margin-top: 8px;
    border-radius: 0px !important;
}

/* کوچک‌تر کردن دکمه مشاهده همه مطالب */
.btn-view-all-small {
    padding: 6px 14px !important;
    font-size: 12px !important;
    height: auto !important;
}

/* کوچک‌تر کردن دکمه مطالعه مطلب */
.btn-small-blog {
    padding: 7px 12px !important;
    font-size: 12px !important;
    min-height: unset !important;
    height: 34px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* حل باگ هم‌ترازی دکمه و جلوگیری از بیرون‌زدگی کادر */
.custom-course-card {
    box-sizing: border-box;
}

.custom-course-card .card-body {
    overflow: hidden;
}
/* === BLOG OVERFLOW DATE BADGE END === */
/* === SINGLE POST PAGE STYLES === */

.single-post-section {
    background-color: #ffffff;
}

/* پترن مربعی هندسی بک‌گراند در صفحه تکی */
.single-post-section .square-shape-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(44, 44, 44, 0.015);
    border: 1px solid rgba(44, 44, 44, 0.03);
    transform: rotate(25deg);
    top: 40px;
    right: -150px;
    z-index: 1;
    pointer-events: none;
}

.single-post-section .square-shape-2 {
    position: absolute;
    width: 250px;
    height: 250px;
    background-color: rgba(192, 13, 14, 0.012);
    border: 1px solid rgba(192, 13, 14, 0.02);
    transform: rotate(55deg);
    bottom: 80px;
    left: -80px;
    z-index: 1;
    pointer-events: none;
}

/* آرتیکل اصلی */
.blog-main-article {
    border: 1px solid #eeeeee;
    border-top: 4px solid #C00D0E; /* خط تاکید قرمز یاقوتی کاملاً تیز */
    border-radius: 0px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

/* استایل متادیتا */
.post-meta-wrapper {
    font-size: 13px;
}

.meta-item {
    background-color: #f7f7f7;
    color: #555555;
    padding: 4px 12px;
    font-weight: 600;
    border-right: 2px solid #2c2c2c; /* خط زغالی تیز */
}

.meta-item i {
    color: #C00D0E;
}

/* عنوان تکی */
.blog-single-title {
    font-family: 'Morabba', sans-serif;
    font-size: 1.95rem !important;
    font-weight: 800;
    line-height: 1.5;
}

/* تصویر شاخص */
.blog-single-cover {
    height: 420px;
    border: 1px solid #e5e5e5;
}

@media (max-width: 768px) {
    .blog-single-cover {
        height: 250px;
    }
    .blog-single-title {
        font-size: 1.5rem !important;
    }
}

/* بدنه محتوای متنی مقاله */
.blog-post-content {
    font-size: 1.08rem;
    line-height: 2 !important;
}

.blog-post-content p {
    margin-bottom: 20px;
}

/* خط جداکننده فوتر */
.post-footer-divider {
    height: 1px;
    background: linear-gradient(to left, #C00D0E 10%, #eeeeee 40%);
}

/* دکمه‌های اشتراک‌گذاری */
.blog-share-box .share-link {
    color: #2c2c2c;
    font-size: 16px;
    margin-left: 12px;
    transition: color 0.2s ease;
}

.blog-share-box .share-link:hover {
    color: #C00D0E;
}

/* باکس نویسنده هماهنگ با کادر هندسی استخدام */
.author-profile-box {
    border: 1px solid #eeeeee;
    border-right: 4px solid #2c2c2c; /* تاکید زغالی تیز */
    padding: 25px;
    border-radius: 0px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.01);
}

.author-avatar-wrapper img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border: 1px solid #dddddd;
    border-radius: 0px !important; /* کاملا تیز */
}

.author-info-text h5 {
    font-size: 1.05rem;
    color: #2c2c2c;
}

.author-info-text p {
    line-height: 1.6;
    color: #666666;
}
/* استایل تگ‌ها و دسته‌بندی‌های کادر تیز */
.badge-taxonomy-item {
    background-color: #f5f5f5;
    color: #444444;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    border-right: 2px solid #C00D0E;
    transition: all 0.2s ease;
}
.badge-taxonomy-item.style-cat {
    border-right-color: #2c2c2c;
}
.badge-taxonomy-item:hover {
    background-color: #2c2c2c;
    color: #ffffff;
}
.border-sharp {
    border: 1px solid #eeeeee;
    border-radius: 0px !important;
}
/* سایدبار ستونی تیز */
.sidebar-widget-sharp {
    border: 1px solid #eeeeee;
    border-top: 4px solid #2c2c2c;
}
.widget-title-sharp {
    font-size: 1.15rem;
    font-weight: 800;
}
.title-red-line-small {
    width: 30px;
    height: 3px;
    background-color: #C00D0E;
    margin-top: 6px;
}
.sidebar-post-img {
    width: 75px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
}
.sidebar-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-post-title {
    font-size: 13px !important;
    font-weight: 700;
}


/* ریشه کامپوننت نظرات */
.custom-comments-wrapper {
    margin: 30px 0;
    font-family: inherit;
}

.comments-count-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2c2c2c; /* مشکی زغالی شما */
}

.custom-comments-wrapper ul,
.custom-comments-wrapper li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

/* باکس کلی هر کامنت - کاملاً بدون بوردر ردیوس */
.comment-box-sharp {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-right: 3px solid #2c2c2c; /* خط تاکید تیز زغالی */
    padding: 16px 20px;
    border-radius: 0px !important;
    transition: all 0.25s ease;
}

.comment-box-sharp:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    background-color: #fafafa;
}

/* باکس آواتار مربعی و هندسی تیز */
.comment-avatar-sharp {
    width: 50px;
    height: 50px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 0px !important; /* لبه‌های تیز هماهنگ با پنتا‌ال‌ام‌اس */
    margin-left: 15px;
}

.comment-avatar-sharp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* جزئیات متن */
.comment-details-content {
    width: 100%;
}

.comment-username {
    font-weight: 700;
    font-size: 14px;
}

.comment-date {
    font-weight: 600;
}

/* خط جداکننده افقی و تیز داخل کادر نظر */
.comment-sharp-divider {
    height: 1px;
    background-color: #f1f1f1;
    margin: 8px 0;
}

.comment-text-paragraph {
    font-size: 13.5px;
    color: #444444;
    line-height: 1.7;
}

/* استایل اختصاصی پاسخ‌ها (فرزندان) */
.comment-replies-list {
    padding-right: 30px; /* ایجاد پدینگ برای جلو رفتن سطح پاسخ */
    position: relative;
}

/* ایجاد خط راهنمای درختی عمودی مچ‌شده تیز برای پاسخ‌ها */
.comment-replies-list::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 0;
    bottom: 24px;
    width: 2px;
    background-color: #eeeeee;
}

.comment-box-sharp.reply-mode {
    border-right-color: #C00D0E; /* خط تاکید قرمز یاقوتی برای تمایز پاسخ‌ها */
    background-color: rgba(192, 13, 14, 0.01);
}

.comment-box-sharp.reply-mode:hover {
    background-color: rgba(192, 13, 14, 0.02);
}

/* لیبل کوچک پاسخ مدرس */
.badge-reply-indicator {
    font-size: 10px;
    background-color: #C00D0E;
    color: #ffffff;
    padding: 2px 8px;
    margin-right: 8px;
    font-weight: bold;
    border-radius: 0px !important;
    display: inline-block;
    vertical-align: middle;
}

/* بهینه‌سازی ریسپانسیو موبایل */
@media (max-width: 576px) {
    .comment-box-sharp {
        padding: 12px 14px;
    }
    .comment-replies-list {
        padding-right: 15px;
    }
    .comment-replies-list::before {
        right: 4px;
    }
    .comment-avatar-sharp {
        width: 40px;
        height: 40px;
        margin-left: 10px;
    }
}

/* === SHARP BREADCRUMB STYLES === */
.sharp-breadcrumb-section {
    position: relative;
    padding: 30px 0;
    background-color: #2c2c2c; /* زغالی پیش‌فرض در صورت عدم بارگذاری عکس */
    border-bottom: 3px solid #C00D0E; /* خط تاکید قرمز یاقوتی شما */
}

/* تصویر پس‌زمینه محو شده */
.breadcrumb-bg-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    filter: blur(2px) grayscale(30%);
    z-index: 1;
    transform: scale(1.05);
}

/* لایه تاریک‌کننده برای کنتراست بالای متن سفید */
.breadcrumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(44, 44, 44, 0.92) 30%, rgba(44, 44, 44, 0.75));
    z-index: 2;
}

/* مربع هندسی پشت متن */
.breadcrumb-square-shape {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: rgba(192, 13, 14, 0.04);
    border: 1px solid rgba(192, 13, 14, 0.1);
    transform: rotate(45deg);
    right: -50px;
    top: -50px;
    z-index: 2;
    pointer-events: none;
}

/* عنوان ضخیم و مدرن با فونت مربّع شما */
.breadcrumb-post-title {
    font-size: 1.65rem !important;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* لیست ناوبری */
.breadcrumb-nav-list {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 6px 16px;
    border-right: 3px solid #C00D0E; /* نشانگر قرمز تیز */
    border-radius: 0px !important;
}

.breadcrumb-home-link,
.breadcrumb-current-item {
    color: #dddddd;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.breadcrumb-home-link:hover,
.breadcrumb-current-item:hover {
    color: #C00D0E; /* تغییر رنگ به قرمز در حالت هاور */
}

/* جداکننده فلش تیز کوچک */
.breadcrumb-divider {
    color: #888888;
    font-size: 10px;
    display: flex;
    align-items: center;
}

/* آیتم فعال فعلی */
.breadcrumb-current-page {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.85;
}

/* واکنش‌گرایی برای موبایل */
@media (max-width: 768px) {
    .sharp-breadcrumb-section {
        padding: 20px 0;
    }
    .breadcrumb-post-title {
        font-size: 1.3rem !important;
        text-align: center;
    }
    .breadcrumb-nav-list {
        width: 100%;
        justify-content: center;
        border-right: none;
        border-bottom: 2px solid #C00D0E;
    }
}

/* === SHARP SIDEBAR MODULE STYLES === */
.blog-sidebar-wrapper {
    width: 100%;
}

/* بیس کلی هر باکس سایدبار - کامپوننت بدون بوردر ردیوس */
.sidebar-widget-sharp {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-top: 4px solid #2c2c2c; /* لبه تاکید تیز زغالی لوکس */
    border-radius: 0px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

/* باکس اختصاصی سرچ */
.search-widget-box {
    border-top: 4px solid #C00D0E; /* هدر فرم سرچ با قرمز یاقوتی متمایز می‌شود */
}

.sidebar-search-input {
    width: 100%;
    height: 42px;
    background-color: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 0 15px 0 45px;
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    border-radius: 0px !important;
    outline: none;
    transition: all 0.2s ease;
}

.sidebar-search-input:focus {
    background-color: #ffffff;
    border-color: #C00D0E;
    box-shadow: 0 0 0 3px rgba(192, 13, 14, 0.05);
}

.sidebar-search-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background-color: #2c2c2c;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sidebar-search-btn:hover {
    background-color: #C00D0E; /* تغییر رنگ دکمه سرچ به قرمز یاقوتی هنگام هاور */
}

/* تایتل‌های باکس سایدبار */
.widget-title-sharp {
    font-size: 1.1rem !important;
    font-weight: 800;
    color: #2c2c2c;
}

.title-red-line-small {
    width: 30px;
    height: 3px;
    background-color: #C00D0E;
    margin-top: 6px;
    border-radius: 0px !important;
}

/* ساختار لیست نوشته‌های پربازدید */
.sidebar-post-item {
    border-bottom: 1px dashed #f1f1f1;
    padding-bottom: 12px;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-post-img {
    width: 75px;
    height: 60px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    border-radius: 0px !important;
}

.sidebar-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-info {
    flex-grow: 1;
    min-width: 0; /* برای درست کار کردن تک خطی شدن عنوان */
}

.sidebar-post-title {
    font-size: 13px !important;
    font-weight: 700;
    margin: 0;
}

.sidebar-post-title a {
    transition: color 0.2s ease;
}

.sidebar-post-title a:hover {
    color: #C00D0E !important;
}

.sidebar-post-date {
    font-size: 11px;
    font-weight: 600;
}

/* ابر برچسب‌ها */
.sidebar-tagcloud .badge-taxonomy-item {
    background-color: #f5f5f5;
    color: #444444;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none !important;
    border-right: 2px solid #C00D0E; /* خط قرمز تیز تیک‌دار */
    transition: all 0.2s ease;
    border-radius: 0px !important;
}

.sidebar-tagcloud .badge-taxonomy-item:hover {
    background-color: #2c2c2c;
    color: #ffffff;
    border-right-color: #2c2c2c;
}

/* === AJAX FORM SHARP VISUALS === */
.border-sharp-comment {
    border: 1px solid #eeeeee;
    border-top: 4px solid #2c2c2c; /* خط تاکید زغالی */
    border-radius: 0px !important;
}

/* فیلدهای ورودی تیز بر اساس امضای بصری جدید شما */
.form-control-sharp,
.form-control-sharp-textarea {
    width: 100%;
    background-color: #fcfcfc;
    border: 1px solid #e0e0e0;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #2c2c2c;
    border-radius: 0px !important; /* لبه‌های تیز */
    outline: none;
    transition: all 0.25s ease;
}

.form-control-sharp:focus,
.form-control-sharp-textarea:focus {
    background-color: #ffffff;
    border-color: #C00D0E; /* فوکوس قرمز یاقوتی */
    box-shadow: 0 0 0 3px rgba(192, 13, 14, 0.04);
}

.form-control-sharp[readonly] {
    background-color: #f1f1f1;
    color: #777777;
    border-color: #e5e5e5;
    cursor: not-allowed;
}

/* آلرت موفقیت تیز */
.alert-success-sharp {
    background-color: rgba(45, 148, 122, 0.08); /* سبز بهداشتی ملایم بومی */
    border: 1px solid rgba(45, 148, 122, 0.2);
    border-right: 4px solid #2D947A;
    color: #1b5a4a;
    padding: 15px;
    border-radius: 0px !important;
}

.alert-success-sharp .alert-title {
    font-size: 14px;
    font-weight: 800;
}

.comment-form-title {
    font-size: 1.15rem;
    font-weight: 800;
}
/* اندازه پیش‌فرض برای دسکتاپ و تبلت */
.placement-title {
    font-size: 1.25rem; /* یا هر اندازه‌ای که مد نظرتان است */
    font-weight: 800;
}

/* کاهش سایز فونت به صورت اختصاصی در موبایل‌های کوچک‌تر از 576 پیکسل */
@media (max-width: 576px) {
    .placement-title {
        font-size: 0.9rem !important; /* کوچک شدن سایز متن انگلیسی برای جا شدن در کادر */
    }
}
