/* Custom styles to enhance the daisyUI theme */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;700&display=swap');

body {
    font-family: 'Noto Serif SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom gold gradient text */
.text-gold-gradient {
    background: linear-gradient(to right, #d4af37, #f1c40f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Custom shadow for gold elements */
.shadow-gold {
    box-shadow: 0 4px 6px -1px rgba(212, 175, 55, 0.1), 0 2px 4px -1px rgba(212, 175, 55, 0.06);
}

/* Hover effects for cards */
.card-hover-effect {
    transition: all 0.3s ease;
}

.card-hover-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(212, 175, 55, 0.2);
}
/* Tag styles */
.tag-item {
    transition: all 0.2s ease;
    cursor: pointer;
    display: inline-block;
    font-size: 0.95rem;
    margin: 0.25rem;
    white-space: nowrap;
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-tag.hidden {
    display: none;
}
#toggle-more-tags {
    transition: all 0.3s ease;
}

#toggle-more-tags:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(180, 83, 9, 0.2);
}

.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

#toggle-more-tags:hover .toggle-icon {
    transform: translateY(2px);
}
/* Line clamp for article previews */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive images */
/* New styles for single column layout */
.rounded-xl {
    border-radius: 1rem;
}
.shadow-lg {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.border-b {
    border-bottom: 1px solid #e5e7eb;
}
.transition-colors {
    transition: background-color 0.2s, color 0.2s;
}
.hover\:bg-amber-700:hover {
    background-color: #b45309;
}
/* Mobile optimizations */
@media (max-width: 768px) {
    .lg\:w-1\/4 {
        width: 100%;
    }
    .lg\:w-3\/4 {
        width: 100%;
    }
    .sticky {
        position: static;
    }
}

/* SEO optimizations */
article {
    position: relative;
}
article h3 a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
/* Tag styles */
.category-tags span {
    transition: all 0.2s ease;
    user-select: none;
}
.category-tags span.active {
    background-color: #b45309 !important;
    color: white !important;
}
/* Innovation card styles */
.innovation-card {
    transition: all 0.3s ease;
    display: block;
}

.innovation-card:hover {
    transform: translateY(-5px);
}

.innovation-card:hover img {
    transform: scale(1.05);
}

.innovation-card h3 {
    transition: color 0.3s;
}

.innovation-card p {
    transition: color 0.3s;
}

.innovation-card:hover p {
    color: #4b5563;
}
/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4af37, #f1c40f);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #c19b2e, #e1b40e);
}