/**
 * Plugin Name: Amikom Story
 * Description: Plugin WP Amikom Story dibuat oleh TIM DIREKTORAT INNOVATION CENTER AMIKOM
 * Version: 1.0.6
 * Author: Kukuh Nova Putra (Plugin Developer) & Hendrik Pramana (UIUX Designer)
 * Author URI: https://ic.amikom.ac.id
 * Text Domain: amikom-story
 */

/*--------------------------------------------------------------
# Main Style
--------------------------------------------------------------*/

/* Slick JS Style
--------------------------------------------- */
.slick-slide {
	margin: 0 10px;
}

.slick-list {
	margin: 0 -10px;
}

button.icon-prev,
button.icon-next {
	background: #ff6900;
	padding: 9px;
	border-radius: calc(infinity * 1px);
	border: 0;
	box-shadow: none;
}

button.icon-prev:hover,
button.icon-next:hover {
	cursor: pointer;
}

@media (max-width: 640px) {
	.testimonial-arrows {
		display: none !important;
	}
}

/* Testimonial Content for Desktop
--------------------------------------------- */
#success-story {
	padding: 4rem 0;
	background: #f3e8ff;
}

.testimonial-section {
	max-width: 100%;
	margin: 0 auto;
}

.testimonial-section-wrapper {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0 1.75rem;
	display: flex;
	justify-content: space-between;
}

.testimonial-section-wrapper h3 {
	margin-bottom: 0.35rem;
	font-size: 2.25rem;
	line-height: 2.25rem;
	font-weight: 700;
}
.testimonial-section-wrapper p {
	font-size: 1.15rem;
}

@media (max-width: 1024px) {
	.testimonial-section-wrapper h3 {
		font-size: 1.5rem;
	}

	.testimonial-section-wrapper p {
		font-size: 1rem;
	}
}

@media (max-width: 1024px) {
	.testimonial-section-wrapper {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-end;
	}
}

.testimonial-container {
	margin: 1rem;
	padding-top: 1.5rem;
}

.success-story-for-desktop {
	display: none !important;
}

@media (min-width: 640px) {
	.success-story-for-desktop {
		display: block !important;
	}
}

.testimonial-user {
	position: relative;
	transition: all 0.3s;
	border-radius: 32px;
	overflow: hidden;
	height: 300px;
}
  
.testimonial-info {
	margin-top: 1rem;
	border-radius: 0 !important;
}

.testimonial-info h4 {
	margin-bottom: 0;
	font-size: 1.15rem;
	font-weight: 600;
}

.testimonial-info p {
	font-size: 0.95rem;
	font-weight: 500;
}

.testimonial-user:hover .testimonial-overlay {
	opacity: 1;
}

.card-image {
	display: block !important;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-overlay {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1.5rem;
    background-color: rgba(45, 55, 72, 0.9);
    transition: opacity 0.3s ease;
    text-align: center;
    max-height: 100%;
    overflow-y: auto;
    box-sizing: border-box;
}

.testimonial-overlay p {
    text-align: left;
    font-size: 0.95rem;
    color: white;
    font-weight: 500;
    margin: 0;
    width: 100%;
}

/* Testimonial Content for Mobile
--------------------------------------------- */
.success-story-for-mobile {
	display: block !important;
}

@media (min-width: 640px) {
	.success-story-for-mobile {
		display: none !important;
	}
}

.testimonial-card-mobile {
	background-color: white;
	border-radius: 0.5rem;
	padding: 1rem;
}
  
.testimonial-user-mobile {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.testimonial-user-mobile img {
	width: 3.5rem;
	border-radius: 0.5rem;
}

.testimonial-info-mobile h4 {
	margin-bottom: 0;
	font-size: 1.125rem;
	font-weight: 700;
}

.testimonial-info-mobile p {
	font-size: 0.875rem;
	font-weight: 500;
}

.testimonial-content-mobile {
	margin-top: 1.5rem;
}

.testimonial-content-mobile p {
	font-size: 1rem;
}