/* =========================================
           1. Global Resets & Typography
========================================= */


:root {
    --body-bg: #f9f9fb;
    --sidebar-bg: #ffffff;
    --hero-radius: 56px;
    --top-height: 53%;
    --right-width: 57%;
    --hero-bg: #d1e4f5;
    --primary-color: #beddfa;
    --primary-text-color: #111111;
    --primary-hover-color: #2b6cb0;
    --primary-hover-text-color: #ffffff;
    --content-box-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: IranYekan, sans-serif;
    background-color: var(--body-bg);
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.text-bold {
    font-weight: 700;
}

.text-muted {
    color: #888;
    font-size: 12px;
}

.text-justify {
    text-align: justify;
}

.sticky {
    position: sticky;
}

.ellipsis-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ellipsis-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dir-rtl {
    direction: rtl;
}

.dir-ltr {
    direction: ltr;
}

.bg-theme-primary {
    background: var(--primary-color) !important;
}

.bg-body {
    background: var(--body-bg) !important;
}

.no-border {
    border: none !important;
}

/* Utility Classes */
.section-divider {
    border-top: 3px dashed #d1d5db;
    margin: 40px 0;
    position: relative;
}

.section-divider .title-box {
    position: absolute;
    top: -16px;
    right: 0;
}

.section-title {
    display: inline-block;
    color: #111;
    padding: 0 16px 0 0;
    border-radius: 24px;
    font-weight: 700;
    position: relative;
    z-index: 10;
}

.section-title .bg-helper {
    right: 0;
    top: 0;
    content: '';
    position: absolute;
    width: calc(100% + 24px);
    display: block;
    height: 100%;
    background: var(--body-bg);;
}

.section-title .bg-helper-2 {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 36px;
    background: var(--hero-bg);
    width: 48px;
    border-radius: 0 16px 16px 0;
    z-index: 9;
}

.section-title .title {
    position: relative;
    z-index: 11;
    font-size: 18px;
    line-height: 36px;
    margin: 0;
}

.section-title .title > span {
    font-weight: 500;
}

.section-title .title > strong {
    font-weight: 700;
}

.search-box button {
    margin-top: 2px;
    font-size: 20px;
}

/* =========================================
   2. Header Section
   ========================================= */
.main-header {
    background-color: #fff;
    padding: 16px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.main-header.sticky {
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-weight: 700;
    color: #2b6cb0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    color: #555;
}

.main-nav a:hover {
    color: #2b6cb0;
}

.header-actions .btn-login {
    background-color: #dcecfc;
    color: #2b6cb0;
    padding: 8px 20px;
    border-radius: 24px;
    font-weight: 700;
    border: none;
    cursor: pointer;
}

.main-nav-box {

}

.main-nav-box > ul {
    margin: 0 32px 0 0;
    padding: 0;
}


.main-nav-box > ul > li {
    padding: 8px;
    margin-left: 8px;
}

.main-nav-box > ul > li > a {
    font-weight: 400;
}

.main-nav-box > ul > li > a:hover {
    color: #2b6cb0;
}

.main-nav-box > ul > li > ul {
    top: 100%;
}

.main-header .navbar-nav .nav-link {
    padding: 0;
}

.main-nav-box .dropdown-submenu {
    position: relative;
}

.main-nav-box .dropdown-item {
    font-weight: 400;
    font-size: 15px;
    padding: 8px 12px;
    line-height: 24px;
}

.main-nav-box .dropdown-item:hover {
    color: #2b6cb0;
}

.dropdown-toggle::after {
    content: "\F057B";
    border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: none;
    font-family: "iconsax";
    position: absolute;
    font-size: 12px;
    margin-right: 6px;
}

.dropdown-menu {
    border: 1px solid #f3f3f3;
    padding: 0;
    min-width: 200px;
}

.dropdown .dropdown-menu .dropdown-toggle::after {
    content: "\F28FB";
    border-top: none;
    border-left: none;
    border-bottom: none;
    border-right: none;
    font-family: "iconsax";
}
/* =========================================
   3. Hero section
   ========================================= */

.hero-section {
    position: relative;
    width: 100%;
    max-width: 1200px;
    border-radius: 40px;
    overflow: hidden;
    background-color: transparent;
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #d1e4f5;
    border-radius: 40px;
    z-index: 1;
}

.hero-bg-cutout {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 45%;
    height: 68%;
    background-color: #f4f7f9;
    border-top-right-radius: 70px;
    z-index: 2;
}

.bg-pattern-dots {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(#fff 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.35;
    z-index: 2;
    border-radius: 100%;
}

.bg-pattern-waves {
    position: absolute;
    bottom: -20px;
    right: 15%;
    width: 200px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 25 0, 50 10 T 100 10' fill='none' stroke='%23ffffff' stroke-width='1.5' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 80px 20px;
    z-index: 2;
}

.star {
    position: absolute;
    background-color: #fff;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    z-index: 2;
    opacity: 0.9;
}

.star-large {
    width: 35px;
    height: 35px;
    top: 15%;
    right: 45%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.star-small-1 {
    width: 16px;
    height: 16px;
    bottom: 25%;
    right: 20%;
}

.star-small-2 {
    width: 12px;
    height: 12px;
    bottom: 10%;
    right: 5%;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    gap: 40px;
}

/* Right Side: Text & Search */
.hero-text-area {
    flex: 1;
    padding-left: 24px;
}

.hero-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 16px;
    text-align: center;
    word-spacing: -4px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    margin-bottom: 32px;
    text-align: center;

}

/* Search Box */
.search-box {
    display: flex;
    align-items: center;
    background-color: #f4f7f9;
    border-radius: 12px;
    padding: 5px 16px;
    height: 56px;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.search-box input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #2d3748;
    font-weight: 400;
}

.search-box input::placeholder {
    color: #a0aec0;
}

.search-icon {
    width: 22px;
    height: 22px;
    fill: #a0aec0;
    cursor: pointer;
    margin-right: 16px;
}

.hero-footer-text {
    font-size: 13px;
    font-weight: 400;
    color: #1a202c;
    text-align: center;
}

.hero-cards-area {
    flex: 0 0 420px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-section .post-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 12px;
    display: flex;
    align-items: stretch;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease;
    height: 130px;
}

.hero-section .post-card:hover {
    transform: translateY(-3px);
}

.hero-section {
    position: relative;
}

.hero-section .shape-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.hero-section .shape-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-height);
    background-color: #c5ddf3;
    border-radius: var(--hero-radius) var(--hero-radius) 0 var(--hero-radius);
}

.hero-section .shape-right {
    position: absolute;
    top: 0;
    right: 0;
    width: var(--right-width);
    height: 100%;
    background-color: #c5ddf3;
    border-radius: 0 var(--hero-radius) var(--hero-radius) var(--hero-radius);
}

.hero-section .shape-fillet {
    position: absolute;
    top: var(--top-height);
    right: var(--right-width);
    width: var(--hero-radius);
    height: var(--hero-radius);
    background: radial-gradient(
            circle at bottom left,
            transparent calc(var(--hero-radius) - 1px),
            #c5ddf3 var(--hero-radius)
    );
}

.hero-section .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 5px 0;
}

.hero-section .card-content .card-badge {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 24px;
    margin-bottom: 12px;
}

.hero-section .card-content .card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.hero-section .card-content .card-date {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}


.hero-section .card-image-wrapper {
    flex: 140px 0 0;
    height: 100%;
}

.hero-section .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================================
   4. Categories Icons
   ========================================= */

.cat-box {
    margin: 88px 0;
}

.categories-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.category-item {
    text-align: center;
    cursor: pointer;
}

.category-item .link {
    display: block;
    width: 100%;
    border-radius: 32px;
    background: transparent;
    padding: 16px;
}

.category-item .link:hover {
    background: #c5ddf3;
}

.category-icon {
    width: 75px;
    height: 75px;
    background: #fff;
    border-radius: 100%;
    margin: 0 auto 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #2b6cb0;
    text-align: center;
    font-size: 28px;
    padding: 0;
}

.category-icon > i {
    line-height: 75px;
}

.category-item span {
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

/* =========================================
   5. Post Grid (Cards)
   ========================================= */

.posts-box {
    margin-bottom: 88px;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.post-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
    padding: 16px;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.post-content {
    margin-top: 16px;
}

.post-badge {
    background: #edf2f7;
    color: #4a5568;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
    font-weight: 500;
}

.img-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: inline-block;
    background: #2b6cb0;
    padding: 2px 8px;
    line-height: 17px;
    min-width: 32px;
    color: #fff;
    white-space: nowrap;
    font-size: 11px;
    border-radius: 18px;
    font-weight: 500;
}

.post-title {
    font-size: 15px;
    font-weight: 700;
    margin: 8px 0 12px 0;
    color: #2d3748;
}

.post-title > a {
    text-decoration: none;
    color: #2d3748;
}

.post-title > a:hover {
    color: #2b6cb0;
}

.post-excerpt {
    font-size: 12px;
    color: #718096;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

.author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #4a5568;
    font-weight: 700;
}

.posts-box .author > img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.btn-more {
    display: inline-block;
    padding: 12px 24px;
    margin: 56px auto 0;
    text-align: center;
    background: var(--primary-color);
    color: var(--primary-text-color);
    border-radius: 24px;
    font-weight: 700;
    font-size: 13px;
}

.btn-more:hover {
    background: var(--primary-hover-color);
    color: var(--primary-hover-text-color);
}

/* =========================================
   6. Banners
   ========================================= */
.banners-row {
    display: flex;
    margin: 88px 0;
}

.banner {
    flex: 1;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.banner > img {
    width: 100%;
    border-radius: 24px;
}

/* =========================================
   7. Tabs Section
   ========================================= */
.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    justify-content: center;
}

.tab-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 8px 24px;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 700;
    color: #4a5568;
    font-family: inherit;
}

.tab-btn.active {
    background: #dcecfc;
    color: #2b6cb0;
    border-color: #dcecfc;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* =========================================
   8. Hot Tags
   ========================================= */
.tags-section {
    background: var(--primary-color);
    padding: 24px 16px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 88px 0;
}

.tags-title {
    font-weight: 800;
    color: #2b6cb0;
    margin-left: 24px;
    font-size: 18px;
    line-height: 24px;
    white-space: nowrap;
}

.tag-item {
    background: #fff;
    padding: 4px 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    color: #4a5568;
}

.tag-item:hover {
    background: var(--primary-hover-color);
    color: var(--primary-hover-text-color);
}

/* =========================================
   9. Multimedia Grid (CSS Grid)
   ========================================= */
.multimedia-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
    margin-top: 32px;
}

.media-large {
    grid-row: span 2;
}

.media-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

/* =========================================
   10. Footer
   ========================================= */
.site-footer {
    background: #fff;
    padding-top: 50px;
    margin-top: 50px;
}

.footer-grid {
    margin-bottom: 32px;
}

.footer-col h4 {
    font-size: 15px;
    margin-bottom: 24px;
    color: #2d3748;
}

.footer-col ul {
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 13px;
    color: #718096;
}

.trust-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.badge-box {
    border: 1px solid #edf2f7;
    padding: 10px;
    border-radius: 10px;
    text-align: center;
}

.footer-bottom .social-media a {
    display: flex;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    --tw-text-opacity: 1;
    color: #fff;
    --tw-bg-opacity: 1;
    background-color: rgb(109,169,225);
    border-radius: 100%;
    margin-right: 8px;
    justify-content: center;
}

.footer-bottom i {
    font-size: 16px;
}

.footer-bottom {
    background: rgb(226,238,249);
    color: #111;
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    font-weight: 700;
}

.footer-bottom,
.footer-bottom span,
.footer-bottom p,
.footer-bottom h3 {
    font-size: .75rem;
    line-height: 1.6;
    font-weight: 400;
}


/* =========================================
   11. Sidebar
   ========================================= */

aside .inner-box {
    background: var(--sidebar-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
}

aside .inner-box.sticky {
    position: sticky;
    top: 88px;
}

aside .section-title .title {
    font-size: 16px;
}

aside .section-title .bg-helper {
    background: var(--sidebar-bg);
}

/* =========================================
   12. FAQ
   ========================================= */

.faq-box {
    margin: 88px 0 64px 0;
}

.faq-box .accordion-button {
    background: #dcecfc;
    border: none;
    font-weight: 600;
    font-size: 15px;
}

.faq-box .accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #111;
    box-shadow: none;
}
.faq-box .accordion-item {
    border-radius: 8px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.faq-box .accordion-button::after {
    filter: invert(0.5);
}

/* =========================================
   13. Widget
   ========================================= */

/*post widget*/
.widget .post-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 12px;
    display: flex;
    align-items: stretch;
    gap: 16px;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.widget .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 5px 0;
}

.widget .card-content .card-badge {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 24px;
    margin-bottom: 12px;
}

.widget .card-content .card-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.widget .card-content .card-date {
    font-size: 11px;
    font-weight: 400;
    color: #94a3b8;
}

.widget .card-image-wrapper {
    flex: 140px 0 0;
    height: 100%;
}

.widget .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* category widget */

.widget-category {

}

.widget-category .widget-content {
    padding-top: 32px;
    margin-top: 16px;
}

.widget-category .widget-content .list {
    list-style: none;
}

.widget-category .widget-content .list .item {
    display: block;
    position: relative;
    padding-left: 32px;
    margin-bottom: 8px;
}

.widget-category .widget-content .list .item::before {
    content: "\F79FC";
    font-family: "iconsax";
    position: absolute;
    left: 0;
    top: -4px;
    bottom: 0;
    width: 20px;
    height: 20px;
    color: #2b6cb0;
    font-size: 20px;
    text-align: center;
}

.widget-category .widget-content .list .item > a {
    font-size: 15px;
    line-height: 24px;
    font-weight: 500;
    color: #111;
}

.widget-category .widget-content .list .item > a:hover {
    color: #2b6cb0;
}

/* =========================================
   14. Content
   ========================================= */

.content-box .inner-box {
    background: var(--content-box-bg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    border-radius: 16px;
}

.content-box .inner-box .content {
    padding: 24px;
    position: relative;
}

.content-box .inner-box .content p {
    text-align: justify;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
}

.content-box .inner-box .content ul {
    padding: 0;
}

.content-box .inner-box .content ul > li {
    text-align: justify;
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
}

.content-box .inner-box .content a {
    color: #2d506c;
    border-bottom: 1px dashed #2d506c;
}

.content-box .inner-box .content a:hover {
    color: var(--primary-hover-color);
}

.content-box .inner-box .content h6 {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
}

.content-box .inner-box .content h5 {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.content-box .inner-box .content h4 {
    font-size: 19px;
    font-weight: 700;
    line-height: 28px;
}

.content-box .inner-box .content h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
}

.content-box .inner-box .content h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 32px;
}

.content-box .inner-box .content h1 {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.content-box .inner-box .content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.content-box .inner-box .content figure {
    max-width: 100%;
    height: auto;
    margin-bottom: 24px;
}

.content-box .inner-box .content figure img {
    margin-bottom: 0;
}

.content-box .inner-box .content blockquote {
    padding: 24px 16px;
    width: 100%;
    display: block;
    background: var(--hero-bg);
    border-radius: 8px;
    position: relative;
    margin: 32px 0;
}


.content-box .inner-box .content blockquote::before,
.content-box .inner-box .content blockquote::after {
    width: 32px;
    height: 32px;
    display: block;
    content: "\F3798";
    font-family: "iconsax";
    font-size: 32px;
    line-height: 32px;
    color: #2b6cb0;
    position: absolute;
}

.content-box .inner-box .content blockquote::before {
    top: -16px;
    left: 16px;
}

.content-box .inner-box .content blockquote::after {
    bottom: -16px;
    right: 16px;
    transform: rotate(180deg);
}

.content-box .inner-box .content video {
    max-width: 100%;
    height: auto;
}

.source-box i {
    font-size: 16px;
    color: #94a3b8;
    height: 24px;
    display: block;
    line-height: 24px;
}

.share-box {
    margin-top: 32px;
}

.social-share-buttons {
    padding: 0;
    margin: 0;
}

.social-share-buttons .title{
    line-height: 40px;
    margin-left: 8px;
}

.social-share-buttons .share-btn {
    font-size: 20px;
    width: 40px;
    display: inline-block;
    height: 40px;
    border-radius: 8px;
    color: #ffffff;
    margin-right: 8px;
    text-align: center;
    padding: 10px 8px;
}

a.share-btn:nth-child(6) {
    margin-right: 0;
}

.social-share-buttons .share-btn:hover {
    opacity: 0.9;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.share-telegram {
    background: #0088cc;
}

.share-x {
    background: #1da1f2;
}

.share-facebook {
    background: #1877f2;
}

.share-instagram {
    background: #e4405f;
}

.share-linkedin {
    background: #0077b5;
}

.share-whatsapp {
    background: #25d366;
}

.share-copy {
    background: #019d91;
}

.social-share-buttons .share-btn > i {
    color: #ffffff;
    font-size: 20px;
    display: block;
    height: 20px;
}

.cta-box {
    margin-bottom: 16px;
}

.cta-box .row {
    border-radius: 16px 56px 56px 16px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.cta-box .price-box {
    border-radius: 0 56px 55px 0;
}

.content-box .inner-box .cta-box .cta-link {
    background: var(--primary-hover-color);
    color: var(--primary-hover-text-color);
    padding: 8px 16px;
    border-radius: 16px;
    display: inline-block;
}

.post-excerpt > p{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.main-title {
    padding: 16px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}

.breadcrumb-item {
    font-size: 14px;
}


.metadata .post-date {
    line-height: 32px;
}

.metadata .post-date i {
    font-size: 20px;
}

.metadata .post-meta .author img{
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.kk-star-ratings {
    position: absolute;
    bottom: 32px;
    left: 24px;
    direction: ltr;
    margin: 0;
}

.kksr-legend {
    direction: rtl !important;
    white-space: nowrap;
    font-size: 12px !important;
}

.kksr-muted {
    display: none;
}

[dir="rtl"] .kk-star-ratings .kksr-stars .kksr-stars-active {
    left: 0 !important;
    right: auto !important;
}

.table-responsive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef0f2;
    background-color: #fff;
}

.table-responsive-wrapper table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    min-width: 500px;
    margin: 0;
}

.table-responsive-wrapper table td {
    padding: 8px 12px;
    border: 1px solid #f1f3f5;
    color: #495057;
    font-size: 14px;
    vertical-align: middle;
}

.table-responsive-wrapper table tr:first-child td {
    background-color: #f8f9fa;
    color: #212529;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.table-responsive-wrapper table tr:nth-child(even) td {
    background-color: #fdfdfe;
}

.table-responsive-wrapper table tr:not(:first-child):hover td {
    background-color: #f1f5f9;
    transition: background-color 0.2s ease-in-out;
}

.table-responsive-wrapper table td[width] {
    width: auto !important;
}

#wpd-field-submit-0_0,
.ql-editor {
    font-family: IranYekan, sans-serif !important;
}

#ez-toc-container.ez-toc-light-blue {
    border-radius: 16px;
    border: 1px solid #e5e5e5 !important;
    max-height: 200px;
    overflow-y: scroll;
    display: block;
}

.ez-toc-title-container {
    margin-bottom: 4px !important;
}

div#ez-toc-container .ez-toc-title {
    font-weight: 700 !important;
    margin-bottom: 8px;
}

.ez-toc-link:hover {
    text-decoration: none !important;
    color: var(--primary-hover-color) !important;
}

#ez-toc-container a:visited {
    color: #111;
}

/* Archive & search */

.page-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 36px;
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    color: var(--primary-hover-color)
}

.breadcrumb {
    flex-wrap: nowrap;
}

.breadcrumb-item {
    white-space: nowrap;
}

.breadcrumb-item:not(.active) {
    flex-shrink: 0;
}

.breadcrumb-item.active {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}


.author-box {
    /*background-color: rgb(109,169,225);*/
    /*background-color: var(--primary-color);*/
    background-color: #dcecfc;
    padding: 16px;
    border-radius: 16px;
    margin-bottom: 32px;
    margin-top: 48px;
}

.author-box .author-details {}

.author-box .author-label {
    font-size: 12px;
    font-weight: 300;
}

.author-box .name {
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
}

.author-box .bio {

}

.author-box .author-avatar {
    padding-top: 8px;
    margin-left: 16px;
}

.author-box .author-avatar > img {
    height: auto;
    display: block;
    width: 128px;
    border-radius: 100%;
}

.header-ads-banner img {
    width: 100%;
}

.header-ads-banner .desktop {
    display: block;
}

.header-ads-banner .mobile {
    display: none;
}

/* widget silder price */

.silver-widget {
    direction: rtl;
    background-color: #dcecfc;
    /*border: 1px solid var(--primary-hover-color);*/
    border-radius: 12px;
}

.silver-widget .live-indicator {
    width: 10px;
    height: 10px;
    background-color: var(--primary-hover-color);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.silver-widget .change-badge {
    background-color: #fff0f0;
    color: #ef4444;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: bold;
}

.silver-widget .change-badge.positive {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.silver-widget .currency {
    font-size: 17px;
    color: #222 !important;
    font-weight: 700;
}

#slv-price {
    font-size: 1.8rem;
    color: #222 !important;
}

.silver-widget .text-secondary {

}

#slv-datetime {
    font-size: 12px;
    color: #6c757d;
}

.silver-widget .buy-btn {
    background-color: var(--primary-hover-color);
    color: var(--primary-hover-text-color);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.silver-widget .buy-btn:hover {
    color: var(--primary-hover-color);
    background-color: var(--primary-hover-text-color);
}

.top-1 {
    top: -4px;
}

*::selection {
    color: #fff;
    background-color: var(--primary-hover-color);
}

.custom-pagination .page-link {
    color: #555;
    font-size: 14px;
    line-height: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #00000021 !important;
}

.custom-pagination .active > .page-link, .page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--primary-hover-color);
    border-color: var(--primary-hover-color);
}