/*
Theme Name: Aardvark Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Aardvark WordPress theme.
Version: 1.0.1
Author: GhostPool
Author URI: http://www.ghostpool.com
Text Domain: aardvark
Template: aardvark
*/

/* Add your own CSS code here */

#main-course {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.course-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.aligncenter>figcaption, .wp-block-image.alignleft>figcaption, .wp-block-image.alignright>figcaption {
    caption-side: bottom;
    display: block !important;
}



/* Basic column styling */
.column-1, .column-2, .column-3 {
    display: inline-block;
    vertical-align: top;
    width: 32%; /* Each column is roughly a third of the container width */
    padding: 10px; /* Optional: for some space inside the columns */
    box-sizing: border-box; /* To include padding in the width */
}

/* If you want to add specific styles to each column, you can do so like this */
.column-1 {
    /* Styles specific to the first column */
}

.column-2 {
    /* Styles specific to the second column */
}

.column-3 {
    /* Styles specific to the third column */
}

/* Ensuring there's a little space between columns */
.column-1, .column-2 {
    margin-right: 2%;
}

/* Optional: Responsive behavior */
@media (max-width: 600px) {
    .column-1, .column-2, .column-3 {
        width: 100%;
        margin-right: 0;
    }
}




ul li.menu-highlight > a {
   
font-weight: bold;
}





span.onsale {
    display: none;
   
  
}

.tribe-events .tribe-events-c-search__button, .tribe-events button.tribe-events-c-search__button {
    background-color: #000000 !important;
   
}

@media (max-width: 768px) {
    #gp-copyright {
        margin-left: 0 !important;
        text-align: left !important;

    }
}


.course.type-course {
    min-height: 370px !important;
}

h2.wp-block-sensei-lms-course-outline-module__title {
    color: white !important;
}

p.pdu-count {
    font-weight: 700;
    color: black;
}

#gp-main-header-secondary-nav > .menu > .menu-item > a {
   
    background: black !important;
    color: white !important;
    font-weight: 800 !important;
    border: 1px solid black !important;
}

nav#post-entries {
    padding-top: 20px;
}

#gp-main-header-primary-nav>.menu>.menu-item.current-menu-item>a {
    color: #000 !important;
}




.article-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: start;
}

.article-card {
    max-width: 280px !important; /* Adjust card width as needed */
    min-height: 360px;
    transition: transform 0.3s ease, z-index 0.3s ease, box-shadow 0.3s ease;
    /* Smooth transition for transform, z-index, and box-shadow */
    /* Add positioning if not already positioned */
    z-index: 1;
    /* Ensure that z-index is set for transition to take effect */
    border-radius: 10px; /* Rounded corners for the cards */
    overflow: hidden; /* Ensure content doesn't spill outside the border-radius */
    box-shadow: 0 24px 44px 0 rgba(53, 111, 141, 0.14), 0 24px 44px 0 rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.3s ease-in-out;
    align-items: flex-start !important;
}

.article-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.article-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

.article-card {
    width: 100%;
    max-width: 280px;
    min-height: 360px;
    transition: transform 0.3s ease, z-index 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 24px 44px 0 rgba(53, 111, 141, 0.14), 0 24px 44px 0 rgba(0, 0, 0, 0.10);
}



/* Medium devices (tablets, 768px and up) */
@media (max-width: 480px) {
    .article-card {
        width: calc(50% - 15px) !important;
        margin-bottom: 20px;
    }
}

.article-excerpt {
    font-size: 1rem !important;
}




.article-card:hover {
    transform: translateY(-5px);
    /* Slight lift on hover */
    z-index: 10;
    /* Bring to front on hover */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4); /* Larger shadow on hover for a dynamic effect */
}


.card-content {
    padding: 0px 15px 5px 15px; /* Space around the content inside the card */
}

.article-thumbnail {
    width: 100%; /* Make the thumbnail cover the card width */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the image covers the allocated area */
}

.article-author {
    margin: 8px 0;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
}

.article-title {
    margin-top: 10px !important;
    font-weight: 600;
}

.articles-slider {
    border-top: 1px solid lightgray;
}



@media only screen and (max-width: 480px){
    .widget_text {
        padding-top: 30px;
    }
}

.wp-block-quote {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff !important;
    padding: 1.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .wp-block-quote p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
  }
  
  .wp-block-quote strong {
    color: #007bff;
    font-weight: 600;
  }

  .bbp-topic-freshness a {
    display: none !important;
}

.dm-projects {
    margin-top: 20px;
}

.sensei-quiz-action.wp-block-button {
    color: white !important;
}

h2.wp-block-heading {
    line-height: 1.1;
}

.reviews_container {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gp-testimonial-name {
    font-weight: 700 !important;
}

span.course-author {
    color: black !important;
}

.course-category {
    color: black !important;
}

.gp-testimonial-slider.gp-slider .flex-control-nav li a {
 
    margin-left: 20px !important;
}


