/* * Skin Name: Card Modern Grey
 * Usage: Select "card-modern-grey" in the module settings.
 */

/* ============================================================
   1. RECENSIES LAYOUT
   ============================================================ */

/* Main Card Container */
.ag_skin_modern-4 .ag_generic_slide {   
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}

/* Typography */
.ag_skin_modern-4 .recensie-quote {
    font-family: inherit;

    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    padding-left: 90px;

    line-height: 1.4em;
}

.ag_skin_modern-4 .recensie-bdy {
    font-size: 15px;
    color: #555;
    line-height: 1.6em;
    margin-bottom: 20px;
    padding-left: 0;
}

/* Author Avatar */
.ag_skin_modern-4 .recensie-author-img {
    position: absolute;
    z-index: 10;
    top: -40px;
    left: 40px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.ag_skin_modern-4 .recensie-author-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Badge */
.ag_skin_modern-4 .recensie-shape {
    position: absolute;
    top: -35px;
    left: 90px;

    width: 35px;
    height: 35px;
    z-index: 912;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 2px;
}

/* Author Meta */
.ag_skin_modern-4 .recensie-meta-rating {
    margin-top: auto;

    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ag_skin_modern-4 .recensie-author-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.ag_skin_modern-4 .recensie-icon {
    display: none;
}


/* ============================================================
   2. GENERIC LAYOUT (Blog Posts, Projects, etc.)
   ============================================================ */
/* Main Card Container */


/* Thumbnail Image */
.ag_skin_modern-4 .ag_slide_img {
    border-radius: 20px;
    /* Slightly softer corners for internal image */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px !important;
    width: 100%;
    /* Keep the inline height from PHP or override here if desired */
}

/* Title Styling */
.ag_skin_modern-4 .ag_slide_title {
    margin: 0 0 15px 0;
}

.ag_skin_modern-4 .ag_slide_title a {
    font-family: inherit;
    font-size: 20px;
    /* Slightly larger for blog titles */
    font-weight: 700;
    color: #333;
    text-decoration: none;
    line-height: 1.3em;
    transition: color 0.3s ease;
}

.ag_skin_modern-4 .ag_slide_title a:hover {
    color: #00d084;
}

/* Excerpt Styling */
.ag_skin_modern-4 .ag_slide_excerpt {
    font-size: 15px;
    color: #555;
    line-height: 1.6em;
    flex-grow: 1;
}

.ag_slide_btn {
    margin-top: 25px;
}

.ag_slide_btn a {
    margin-top: 25px;
    background-color: #ff4667 !important;
    color: #ffffff !important;
    border-color: #ff4667 !important;
    border-width: 0 !important;
    border-style: solid !important;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
}

/* ============================================================
   3. SHARED CONTROLS (Pagination)
   ============================================================ */
.ag_skin_modern-4 .swiper-pagination-bullet {
    width: 25px;
    height: 6px;
    border-radius: 4px;
    background-color: #e0e0e0;
    opacity: 1;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.ag_skin_modern-4 .swiper-pagination-bullet-active {
    background-color: #00d084;
    width: 35px;
}

.ag_skin_modern-4 .ag_slider_nav {
    text-align: center;
    margin-top: 15px;
}


/* ============================================================
   4. MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 480px) {

    /* Recensies Mobile */
    .ag_skin_modern-4 .ag_generic_slide {
        padding: 25px;
    }

    .ag_skin_modern-4 .recensie-author-img {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 15px;
    }

    .ag_skin_modern-4 .recensie-shape {
        left: 55px;
    }

    .ag_skin_modern-4 .recensie-quote {
        padding-left: 0;
    }

    /* Generic Mobile */
    .ag_skin_modern-4 .ag_generic_slide {
        padding: 25px !important;
    }
}