/* ===== المتغيرات العامة ===== */
:root {
    --primary-color: rgb(47, 28, 106);
    --secondary-color: rgb(103, 61, 230);
    --light-bg: rgb(242, 243, 247);
    --white: rgb(255, 255, 255);
    --dark-text: rgb(51, 51, 51);
    --medium-text: rgb(68, 68, 68);
    --light-text: rgb(114, 117, 134);
    --border-color: rgb(156, 163, 175);
    --light-border: rgb(248, 248, 252);
}

/* ===== إعادة تعيين العناصر الأساسية ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
    direction: ltr;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== الهيدر ===== */
header {
    background-color: var(--primary-color);
    color: var(--white);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    margin-left: 10px;
    font-weight: 700;
}

.logo .icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.main-menu {
    display: flex;
}

.main-menu li {
    margin-left: 20px;
}

.main-menu li:last-child {
    margin-left: 0;
}

.main-menu a {
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.main-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.main-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== المحتوى الرئيسي ===== */
main {
    margin-top: 80px;
    padding: 20px 0;
}

.welcome-section {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.welcome-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.welcome-section p {
    color: var(--medium-text);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-color);
}

.content-wrapper {
    display: flex;
    gap: 30px;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 300px;
}

/* ===== المقالات ===== */
.article-counter {
    text-align: right;
    margin-bottom: 20px;
}

.article-counter span {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 500;
}

.article {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.article h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--light-text);
    font-size: 0.9rem;
}

.article-meta span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.article-meta span:last-child {
    margin-right: 0;
}

.article-meta .category {
    color: var(--secondary-color);
}

.article-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.article-content {
    color: var(--medium-text);
}

.article-content p {
    margin-bottom: 15px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 25px 0 15px;
    text-align: center;
}

.tips-list {
    padding-left: 20px;
    margin-bottom: 20px;
}

.tips-list li {
    position: relative;
    margin-bottom: 10px;
}

.tips-list li::before {
    content: '•';
    position: absolute;
    left: -20px;
    color: var(--secondary-color);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}

.tag {
    background-color: var(--light-bg);
    color: var(--medium-text);
    padding: 5px 15px;
    border-radius: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.tag:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.article-navigation {
    text-align: right;
    margin-bottom: 30px;
}

.next-article {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.next-article:hover {
    background-color: var(--primary-color);
}

/* ===== الشريط الجانبي ===== */
.sidebar {
    position: sticky;
    top: 100px;
}

.specialties {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.specialties h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-border);
}

.specialties ul li {
    margin-bottom: 10px;
}

.specialties ul li a {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.specialties ul li a:hover {
    background-color: var(--light-bg);
    color: var(--secondary-color);
}

.specialties ul li i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 10px;
}

/* ===== الإعلانات ===== */
.ad-banner {
    margin-bottom: 30px;
}

.ad-placeholder {
    background-color: var(--light-bg);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--light-text);
}

.ad-placeholder span {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.ad-sidebar .ad-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* ===== زر التمرير للأعلى ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ===== عداد المقالات الثابت ===== */
.article-counter-fixed {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* ===== التجاوب مع الشاشات المختلفة ===== */
@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
    }
    
    .specialties ul {
        display: flex;
        flex-wrap: wrap;
    }
    
    .specialties ul li {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
    }
    
    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .main-menu.active {
        display: flex;
    }
    
    .main-menu li {
        margin-left: 0;
        margin-bottom: 15px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .article h2 {
        font-size: 1.5rem;
    }
    
    .specialties ul li {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .article {
        padding: 20px;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .article-meta span {
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .article-counter-fixed {
        left: 15px;
        bottom: 15px;
        font-size: 0.9rem;
    }
    
    .scroll-to-top {
        right: 15px;
        bottom: 15px;
    }
}

/* ===== Footer ===== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 50px;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-align: center;
    line-height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

/* ===== AdSense Optimization ===== */
.ad-placeholder {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--light-bg);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--light-text);
    position: relative;
}

.ad-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 49%, rgba(156, 163, 175, 0.1) 50%, transparent 51%);
    pointer-events: none;
}

/* ===== Mobile Footer Optimization ===== */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-links a {
        margin-right: 8px;
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
}


/* ===== Legal Pages Styling ===== */
.legal-page {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-page h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.legal-page .last-updated {
    text-align: center;
    color: var(--light-text);
    font-style: italic;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-border);
}

.legal-page section {
    margin-bottom: 30px;
}

.legal-page h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--secondary-color);
}

.legal-page h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.legal-page p {
    color: var(--medium-text);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-page ul {
    margin: 15px 0;
    padding-left: 30px;
}

.legal-page ul li {
    color: var(--medium-text);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-page ul li::marker {
    color: var(--secondary-color);
}

/* ===== Mobile Legal Pages ===== */
@media (max-width: 768px) {
    .legal-page {
        padding: 25px;
        margin: 20px 0;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-page h2 {
        font-size: 1.3rem;
    }
    
    .legal-page ul {
        padding-left: 20px;
    }
}


/* ===== Search Functionality ===== */
.search-container {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.search-container:focus-within {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.search-input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.9rem;
    width: 250px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-button {
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background: var(--accent-color);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid var(--light-border);
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-result-item:hover {
    background-color: var(--light-bg);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.search-result-excerpt {
    color: var(--medium-text);
    font-size: 0.9rem;
    line-height: 1.4;
}

.search-highlight {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 2px 4px;
    border-radius: 3px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--light-text);
}

/* ===== Mobile Search ===== */
@media (max-width: 768px) {
    .search-container {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 15px;
        border-radius: 0;
        margin: 0;
    }
    
    .search-container.mobile-active {
        display: flex;
    }
    
    .search-input {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
    }
    
    .mobile-search-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--white);
        font-size: 1.2rem;
        cursor: pointer;
        margin-left: 15px;
    }
}

@media (min-width: 769px) {
    .mobile-search-toggle {
        display: none;
    }
}


/* ===== Enhanced Navigation & UX ===== */

/* Floating Navigation */
.floating-nav {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
}

.floating-nav-toggle {
    width: 56px;
    height: 56px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
}

.floating-nav-toggle:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-nav-toggle.active {
    transform: rotate(45deg);
    background: var(--accent-color);
}

.floating-nav-items {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-nav.active .floating-nav-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-nav-item {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.floating-nav-item:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.reading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 0%;
    transition: width 0.1s ease;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced Article Cards */
.article {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article:hover::before {
    opacity: 1;
}

/* Enhanced Buttons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

/* Enhanced Tags */
.tag {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pulse Animation for New Content */
@keyframes pulse {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.new-content {
    animation: pulse 0.5s ease-out;
}

/* Enhanced Sidebar */
.sidebar {
    transition: all 0.3s ease;
}

.specialties ul li {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.specialties ul li:hover {
    background: var(--light-bg);
    transform: translateX(5px);
    padding-left: 15px;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
    .floating-nav {
        bottom: 20px;
        right: 15px;
    }
    
    .floating-nav-toggle {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .floating-nav-item {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .article:hover {
        transform: none;
    }
    
    .specialties ul li:hover {
        transform: none;
        padding-left: 10px;
    }
}

/* Enhanced Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Header */
.header-content {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.main-menu a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Enhanced Search Results */
.search-results {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    transition: all 0.2s ease;
}

.search-result-item:hover {
    transform: translateX(5px);
    border-left: 3px solid var(--secondary-color);
}

/* Enhanced Ad Placeholders */
.ad-placeholder {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ad-placeholder:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.ad-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(156, 163, 175, 0.1), transparent);
    transition: left 2s ease;
}

.ad-placeholder:hover::after {
    left: 100%;
}


/* ===== Breadcrumb Navigation ===== */
.breadcrumb-nav {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-bottom: 1px solid var(--light-border);
    padding: 12px 0;
    margin-bottom: 20px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: var(--light-text);
    margin: 0 12px;
    font-weight: 400;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.breadcrumb-item a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.breadcrumb-item.active span {
    color: var(--dark-text);
    font-weight: 500;
    padding: 6px 12px;
    font-size: 0.9rem;
}

.breadcrumb-item i {
    font-size: 0.8rem;
}

/* Mobile breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 8px 0;
        margin-bottom: 15px;
    }
    
    .breadcrumb-item + .breadcrumb-item::before {
        margin: 0 8px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active span {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
    
    .breadcrumb-item span {
        display: none;
    }
    
    .breadcrumb-item a span {
        display: inline;
    }
}

