/*
Theme Name: RH ShopLet
Theme URI: https://webmaresdigital.co.uk
Author: Webmares Digital
Author URI: https://webmaresdigital.co.uk
Description: A lightweight, modern, SEO-friendly WordPress theme using Tailwind CSS (CDN) and Vanilla JS.
Version: 1.0.0
Text Domain: rh-shoplet
*/

/* Global Typography Hierarchy */
p {
    font-family: 'Montserrat', sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-display {
    font-family: 'Inter', sans-serif !important;
}

.grecaptcha-badge {
  display: none !important;
}

/* Global Content Typography */
#main-content {
    line-height: 1.7;
}

#main-content h1 {
    line-height: 1.2;
}

#main-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
    margin-top: 1.75rem;
    line-height: 1.3;
}

#main-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;   
    line-height: 1.3;
}

#main-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Desktop Typography Overrides */
@media (min-width: 1024px) {

    #main-content h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    #main-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        margin-top: 1.25rem;
    }
    #main-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

#main-content ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#main-content ol {
    list-style-type: decimal;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

#main-content li {
    margin-bottom: 0.5rem;
}

/* Navigation Styles */
.nav-link-item::after {
    content: "";
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(to right, #004B91, #008891);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

#desktop-nav .current-menu-item .nav-link-item,
#desktop-nav .current-page-item .nav-link-item,
#desktop-nav .current_page_item .nav-link-item,
#desktop-nav a:hover .nav-link-item,
#desktop-nav .current-menu-item a,
#desktop-nav .current-page-item a,
#desktop-nav .current_page_item a,
#desktop-nav a:hover {
    color: #004B91 !important;
}

#desktop-nav .current-menu-item .nav-link-item::after,
#desktop-nav .current-page-item .nav-link-item::after,
#desktop-nav .current_page_item .nav-link-item::after,
#desktop-nav a:hover .nav-link-item::after {
    transform: scaleX(1);
}

/* Mobile Menu Styles */
#mobile-menu-panel .current-menu-item .mobile-nav-item {
    color: #004B91;
}

#mobile-menu-panel .mobile-nav-item:hover {
    color: #008891;
}

/* Footer Link Styles */
footer a:not(.brand-logo) {
    transition: all 0.3s ease;
}

footer a:not(.brand-logo):hover {
    text-decoration: underline !important;
    text-underline-offset: 8px !important;
    text-decoration-thickness: 1px !important;
    text-decoration-color: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
}
