.breadcrumb-section {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 16px;
    background-image: url('../images/Textbar2.gif');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3); /* เงาเขียวแทนฟ้า */
    color: white;
    min-height: 120px; /* เพิ่มความสูงขั้นต่ำ */
}

.breadcrumb-section img {
    width: 70px;  /* ขยายใหญ่ขึ้น */
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breadcrumb-text {
    font-weight: 700;
    font-size: 1.6rem; /* ขยายใหญ่ขึ้น */
    color: white;
    letter-spacing: 0.02em;
    user-select: none;
}

.breadcrumb-nav {
    max-width: 1400px;
    margin: 12px auto 60px; /* เดิม 40px เพิ่มเป็น 60px */
    padding: 0 24px;
    box-sizing: border-box;
    font-size: 1.1rem;
    color: #2e7d32; /* เขียวแทน #64748b */
    font-weight: 500;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    user-select: none;
}

.breadcrumb-nav a {
    color: #2e7d32; /* เขียวแทนชมพู #ec4899 */
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
    padding-right: 12px;
    font-weight: 600;
}

.breadcrumb-nav a::after {
    content: "/";
    position: absolute;
    right: 4px;
    color: #c0a040; /* ทองแทนชมพู */
    font-weight: 600;
}

.breadcrumb-nav a:last-child::after {
    content: none;
}

.breadcrumb-nav a:hover {
    color: #c0a040; /* hover เป็นทอง */
}

.breadcrumb-nav span {
    color: #2e7d32; /* เขียวแทน #1f2937 */
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb-section {
        padding: 16px 20px;
        gap: 16px;
    }

    .breadcrumb-section img {
        width: 60px;
        height: 60px;
    }

    .breadcrumb-text {
        font-size: 1.4rem;
    }

    .breadcrumb-nav {
        font-size: 1rem;
        gap: 8px;
        padding: 0 20px;
    }
}
/* 🌙 Dark Mode Breadcrumb */
body.dark-mode .breadcrumb-section {
    background-color: #1e1e1e;
    background-image: none; /* ปิดภาพพื้นหลังถ้าอยากได้โทนมืดสนิท */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    color: #f5f5f5;
}

body.dark-mode .breadcrumb-section img {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

body.dark-mode .breadcrumb-text {
    color: #f5f5f5;
}

/* Nav */
body.dark-mode .breadcrumb-nav {
    color: #c0a040; /* ใช้ทองให้ชัดบนพื้นเข้ม */
}

body.dark-mode .breadcrumb-nav a {
    color: #c0a040;
}

body.dark-mode .breadcrumb-nav a::after {
    color: #888; /* ทำเครื่องหมาย / เป็นเทาอ่อน */
}

body.dark-mode .breadcrumb-nav a:hover {
    color: #2e7d32; /* hover เป็นเขียวแทน */
}

body.dark-mode .breadcrumb-nav span {
    color: #ffffff;
}
