.am-c7313500-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	perspective: 1000px;
}

.am-c7313500-item {
    border-radius: 16px;
    background: transparent;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}

.am-c7313500-item.is-active {
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
	transform: translateY(-2px);
}

.am-c7313500-item-header {
    padding: 24px 30px;
    background-color: #ffffff;
    color: #1e293b;
    display: flex;
    align-items: center;
	justify-content: space-between;
    cursor: pointer;
    position: relative;
    transition: all 0.4s ease;
    user-select: none;
	border-radius: 16px;
	overflow: hidden;
	z-index: 2;
}

.am-c7313500-item-header::before {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(120deg, rgba(255,255,255,0) 40%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 60%);
	background-size: 200% 100%;
	background-position: 100% 0;
	transition: background-position 0.6s ease;
	opacity: 0;
	z-index: 0;
}

.am-c7313500-item-header:hover::before {
	background-position: 0 0;
	opacity: 1;
}

.am-c7313500-item.is-active .am-c7313500-item-header {
	border-radius: 16px 16px 0 0;
}

.am-c7313500-header-left {
	display: flex;
	align-items: center;
	z-index: 1;
}

.am-c7313500-item-icon {
	margin-right: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #64748b;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
	background: #f1f5f9;
	width: 50px;
	height: 50px;
	border-radius: 12px;
}

.am-c7313500-item:hover .am-c7313500-item-icon {
	transform: scale(1.1) rotate(5deg);
}

.am-c7313500-item.is-active .am-c7313500-item-icon {
	background: rgba(var(--e-global-color-primary, 59, 130, 246), 0.1);
	transform: scale(1.1);
}

.am-c7313500-item-icon svg {
	width: 24px;
	height: 24px;
	transition: fill 0.4s ease;
}

.am-c7313500-title {
    font-size: 20px;
    font-weight: 700;
	letter-spacing: -0.01em;
	transition: color 0.3s ease;
}

.am-c7313500-toggle-icon {
    display: flex;
    align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f8fafc;
	color: #94a3b8;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
	z-index: 1;
}

.am-c7313500-item:hover .am-c7313500-toggle-icon {
	background: #f1f5f9;
	color: #64748b;
}

.am-c7313500-item.is-active .am-c7313500-toggle-icon {
    transform: rotate(180deg);
	background: #1e293b;
	color: #fff;
}

.am-c7313500-item-content {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
	background: linear-gradient(to bottom, #ffffff, #f8fafc);
	border-radius: 0 0 16px 16px;
}

.am-c7313500-item.is-active .am-c7313500-item-content {
    opacity: 1;
}

.am-c7313500-content-inner {
	padding: 10px 30px 30px;
}

.am-c7313500-description {
	color: #64748b;
	font-size: 15px;
	line-height: 1.6;
	margin-bottom: 24px;
	padding-left: 70px; /* Aligns with title */
	opacity: 0;
	transform: translateY(10px);
	transition: all 0.4s ease;
	transition-delay: 0.1s;
}

.am-c7313500-item.is-active .am-c7313500-description {
	opacity: 1;
	transform: translateY(0);
}

.am-c7313500-pdf-grid {
    display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
	padding-left: 70px;
}

@media (max-width: 767px) {
	.am-c7313500-pdf-grid, .am-c7313500-description {
		padding-left: 0;
	}
	.am-c7313500-item-header {
		padding: 20px;
	}
}

.am-c7313500-pdf-card {
    position: relative;
    display: flex;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(30px) scale(0.95) rotateX(-10deg);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
	transform-origin: top center;
}

.am-c7313500-item.is-active .am-c7313500-pdf-card {
    transform: translateY(0) scale(1) rotateX(0);
    opacity: 1;
	/* The delay is injected inline via PHP/JS var(--anim-delay) */
	transition-delay: var(--anim-delay, 0s);
}

.am-c7313500-pdf-card-bg {
	position: absolute;
	inset: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	transition: all 0.3s ease;
	z-index: 0;
}

.am-c7313500-pdf-card-content {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	padding: 16px 20px;
	z-index: 1;
}

.am-c7313500-pdf-card:hover .am-c7313500-pdf-card-bg {
	border-color: #cbd5e1;
	background: #f8fafc;
	box-shadow: 0 8px 20px rgba(0,0,0,0.06);
	transform: scale(1.02);
}

.am-c7313500-pdf-icon {
    margin-right: 16px;
    color: #ef4444; /* PDF red */
    display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: rgba(239, 68, 68, 0.1);
	border-radius: 10px;
	transition: all 0.3s ease;
}

.am-c7313500-pdf-card:hover .am-c7313500-pdf-icon {
	background: #ef4444;
	color: #ffffff;
	transform: translateY(-2px);
}

.am-c7313500-pdf-text {
    font-weight: 600;
	font-size: 15px;
	color: #334155;
	flex-grow: 1;
	line-height: 1.4;
	transition: color 0.3s ease;
}

.am-c7313500-pdf-card:hover .am-c7313500-pdf-text {
	color: #0f172a;
}

.am-c7313500-pdf-arrow {
	color: #cbd5e1;
	display: flex;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.3s ease;
}

.am-c7313500-pdf-card:hover .am-c7313500-pdf-arrow {
	opacity: 1;
	transform: translateX(0);
	color: #3b82f6;
}
