/* ── YRU Organizer - Custom CSS ── */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* ── Logo ── */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* ── Header Nav Links ── */
#site-header .menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
}

#site-header .menu li a:hover {
    color: #E8923A;
}

/* ── Mobile Menu ── */
#mobile-menu {
    transition: all 0.3s ease;
}

/* ── Line Clamp ── */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── WooCommerce Price Override ── */
.woocommerce-Price-amount {
    color: #E8923A;
    font-weight: 700;
}

del .woocommerce-Price-amount {
    color: #9ca3af;
    font-weight: 400;
    font-size: 0.85em;
}

ins {
    text-decoration: none;
}

/* ── Page/Post Content ── */
.yru-content h1,
.yru-content h2,
.yru-content h3,
.yru-content h4 {
    color: #1A2332;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
}

.yru-content p {
    margin-bottom: 1em;
    line-height: 1.8;
    color: #4b5563;
}

.yru-content a {
    color: #E8923A;
    text-decoration: underline;
}

.yru-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5em 0;
}

.yru-content ul,
.yru-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
    color: #4b5563;
}

.yru-content li {
    margin-bottom: 0.5em;
    line-height: 1.7;
}

.yru-content blockquote {
    border-left: 4px solid #E8923A;
    padding-left: 1rem;
    margin: 1.5em 0;
    font-style: italic;
    color: #6b7280;
}

/* ── WooCommerce Images - remove forced height auto ── */
.woocommerce img,
.woocommerce-page img {
    height: unset !important;
    max-width: 100%;
}

/* ── WooCommerce Pages Override ── */
.woocommerce .products .product {
    margin-bottom: 2rem;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

/* ── Animations ── */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}
