/* ===================================================================================

* Theme Name: Acadia Child
* Theme URI: https://wp.themepure.net/acadia/
* Author: Theme_Pure
* Author URI: https://themeforest.net/user/theme_pure/
* Description: Acadia - University & Online Course WordPress Theme
* Version: 1.0.0
* Template: acadia
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Tags: one-column, right-sidebar, left-sidebar, custom-menu, featured-images, post-formats, sticky-post, translation-ready

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */
/* 1. Hide second course title ("Workbook") on lesson page */
body.single-lp_course .entry-title {
    display: none !important;
}

/* 2. Remove English language tab (WPML floater) */
#trp-floater-ls {
    display: none !important;
}

/* 3. Align course meta (author, date) to the left */
body.single-lp_course .entry-meta,
body.single-lp_course .entry-header {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

/* 4. Reduce course page title size */
body.single-lp_course .course-title {
    font-size: 2rem !important;
    line-height: 1.2 !important;
    padding: 10px 0 !important;
}

/* 5. Fix star ratings on Courses archive page */
.learn-press-course .course-review .review-stars-rated {
    display: flex !important;
    gap: 2px;
    align-items: center;
    font-size: 1.1em;
    color: #f5b301;
}

/* 6. Fix link color in post content */
.post-content a,
.entry-content a {
    color: #0073aa !important;
    text-decoration: underline;
}

.post-content a:hover,
.entry-content a:hover {
    color: #005177 !important;
    text-decoration: underline;
}

/* 7. Hide instructor tab on single course page */
ul.learn-press-nav-tabs li.course-nav-tab-instructor {
    display: none !important;
}

/* 8. Hide instructor box on title of single course page */
.tp-course-details-2-author {
    display: none !important;
}

/* 9. Hide second course lesson title on lesson pages */
 h1.course-item-title.lesson-title {
    display: none !important;
}
/* 10. wrap course title and not overlap sidebar */
/* Force course title to wrap and prevent clipping behind sidebar */
.tp-course-details-2-title {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 80% !important;
    display: block;
}


/* 12. make course list on courses page one per row */
/* Force LearnPress course archive into a single-column layout */
.learn-press-courses .lp-course {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin-bottom: 40px;
}

.learn-press-courses .lp-course .course-thumbnail {
    float: left;
    margin-right: 20px;
    width: 30%;
}

.learn-press-courses .lp-course .course-content {
    float: none;
    width: 100%;
}
/* 13. make all links blue */
/* Global link styling */
body a {
    color: #0073aa !important;
    text-decoration: underline !important;
}
body a:hover {
    color: #005177 !important;
    text-decoration: underline;
}

/* 14. hide cart in header */
.tp-header-5-cart {
    display: none !important;
}

/* 14. hide cart in header */
.tp-header-quran-border {
    display: none !important;
}
.tp-course-thumb img,
.list-courses .course-image img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    opacity: 1 !important;
}
/* 15. change menu font color */
/* Force menu link color on all header states */
.tp-header-quran .main-menu nav ul li a,
.tp-header-quran .main-menu nav ul li a.nav-links,
.tp-header-quran .main-menu nav ul li.current-menu-item > a,
.tp-header-quran .main-menu nav ul li.current_page_item > a,
.tp-header-quran .main-menu nav ul li:hover > a {
    color: #eab853 !important;
}

/* Optional: adjust hover color */
.tp-header-quran .main-menu nav ul li a:hover {
    color: #ffd974 !important;
}
/* Remove underline from all menu states */
.tp-header-quran .main-menu nav ul li a,
.tp-header-quran .main-menu nav ul li a.nav-links {
    text-decoration: none !important;
}

/* Add hover effect for clarity */
.tp-header-quran .main-menu nav ul li a:hover,
.tp-header-quran .main-menu nav ul li.current-menu-item > a,
.tp-header-quran .main-menu nav ul li.current_page_item > a {
    color: #ffd974 !important;         /* Slightly lighter gold on hover */
    border-bottom: 2px solid #ffd974;  /* Optional: visual indicator */
    padding-bottom: 2px;               /* So border doesn’t sit too tight */
}
/* Sticky header menu link color fix */
.tp-header-sticky .main-menu nav ul li a,
.tp-header-sticky .main-menu nav ul li a.nav-links {
    color: #003366 !important;  /* Deep blue for visibility */
    text-decoration: none !important;
}

/* Sticky header hover + active item */
.tp-header-sticky .main-menu nav ul li a:hover,
.tp-header-sticky .main-menu nav ul li.current-menu-item > a,
.tp-header-sticky .main-menu nav ul li.current_page_item > a {
    color: #005ea5 !important; /* Brighter blue on hover */
    border-bottom: 2px solid #005ea5;
    padding-bottom: 2px;
}
.tp-header-sticky .main-menu nav ul li a {
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

