/* Style links in the main content */
main a {
    color: #FF5722 !important; /* Highlight links in orange */
    text-decoration: none; /* Remove underline */
}

main a:hover, main a:focus {
    color: #E64A19 !important; /* Slightly darker orange on hover */
    text-decoration: none; /* Ensure no underline */
}

/* Style links in the Table of Contents */
nav[aria-label="Table of contents"] a {
    color: inherit !important; /* Keep default color initially */
    text-decoration: none;
}

nav[aria-label="Table of contents"] a:hover, nav[aria-label="Table of contents"] a:focus {
    color: #FF5722 !important; /* Change text to orange on hover */
    text-decoration: none; /* Ensure no underline */
}

/* Style links in the header navigation (e.g., About, Contributing) */
header a, .md-header-nav a, .md-nav__item a {
    color: inherit !important; /* Keep default color initially */
    text-decoration: none;
}

header a:hover, header a:focus, .md-header-nav a:hover, .md-header-nav a:focus, .md-nav__item a:hover, .md-nav__item a:focus {
    color: #FF5722 !important; /* Change text to orange on hover */
    text-decoration: none; /* Ensure no underline */
}

/* Style links in the sidebar navigation */
nav[aria-label="Navigation"] a {
    color: inherit !important; /* Keep default color initially */
    text-decoration: none;
}

nav[aria-label="Navigation"] a:hover, nav[aria-label="Navigation"] a:focus {
    color: #FF5722 !important; /* Change text to orange on hover */
    text-decoration: none; /* Ensure no underline */
}

/* Style links in the footer */
footer a {
    color: inherit !important; /* Keep default color initially */
    text-decoration: none;
}

footer a:hover, footer a:focus {
    color: #FF5722 !important; /* Change text to orange on hover */
    text-decoration: none; /* Ensure no underline */
}