/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.container{
    max-width:1240px;
    margin:0 auto;
}
.quiz-archive {
    gap: 23px;
    flex-wrap: wrap;

}

.ast-container{
    display: block !important;
}
.quiz-item {
    position: relative;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    width: 32% !important;
    padding:0;
    background-color: rgb(218, 218, 218);
}

.quiz-tags {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
  }
  .quiz-tags {
    --f: .5em; /* control the folded part*/
    --r: .8em; /* control the ribbon shape */
    
    position: absolute;
    left: 20px;
    top: calc(-1*var(--f));
    padding: .2em;
    background: #f50202;
    border-left: var(--f) solid rgba(255, 255, 255, 0.333);
    border-bottom: var(--r) solid #0000;
    clip-path: polygon(var(--f) 0,100% 0,100% 100%,calc(50% + var(--f)/2) calc(100% - var(--r)), var(--f) 100%,var(--f) var(--f),0 var(--f));
  
}

span.quiz-category {
    background: rgba(92, 92, 92, 0.514);
    font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 5px 15px;
    border-radius: 2px;
    position: absolute;
    top: 0;
    right: 12px;
}

a.quiz-link {
    text-decoration: none;
    font-size: 26px;
    font-weight: 600;
    color: #454545;
    padding: 10px 0;
    margin: 10px 0;
    line-height: 42px;
}

a.quiz-btn {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    background: blue;
    padding: 10px;
    border-radius: 5px;
}
.quiz-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.quiz-content-wrapper{
    padding:0 20px 30px; 
    background-color: rgb(218, 218, 218);
}

@media(max-width:769px){
    .quiz-item {
        width: 100% !important;
    }

    .quiz-archive {
        justify-content: space-between;
        overflow: hidden;
        padding: 0 20px;
    }
}

.categories-grid img{
	height:350px !important;
	object-fit:cover;
}