/*
 * AGM/EGM Page Styles
 * Modern video card design for shareholder meetings
 */

/* Modern Video Card Styling */
.agm-video-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 113, 172, 0.1);
    height: 100%;
}

.agm-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 113, 172, 0.15);
    border-color: rgba(0, 113, 172, 0.3);
}

.agm-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.agm-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}

.agm-video-wrapper::after {
    display: none !important;
}

.agm-card-body {
    padding: 28px 24px;
    position: relative;
}

.agm-date-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg,
        #0071ac 0%,
        #005a8a 50%,
        #004a6f 100%);
    font-family: var(--font-suse);
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #ffffff;
    border: 1px solid rgba(0, 113, 172, 0.5);
    border-radius: 16px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.5s;
    z-index: 1;
}

/* Shimmering light animation */
.agm-date-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 3s infinite;
    z-index: -1;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.agm-date-badge i {
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.agm-date-badge span {
    position: relative;
    z-index: 2;
}

.agm-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    transition: color 0.3s ease;
}

.agm-video-card:hover .agm-card-title {
    color: var(--primary-color2);
}

.agm-type-badge {
    position: absolute;
    bottom: 16px;
    right: 16px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #0071ac 0%, #005a8a 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.agm-type-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.agm-type-badge.egm {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Section Title Enhancement */
.agm-section-title {
    margin-bottom: 60px;
}

.agm-section-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.agm-section-title p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agm-section-title h2 {
        font-size: 32px;
    }

    .agm-section-title p {
        font-size: 16px;
    }

    .agm-card-title {
        font-size: 18px;
    }

    .agm-video-card:hover {
        transform: translateY(-4px);
    }

    .agm-card-body {
        padding: 20px 18px;
    }

    .agm-type-badge {
        display: none;
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .agm-section-title {
        margin-bottom: 40px;
    }

    .agm-section-title h2 {
        font-size: 28px;
    }

    .agm-date-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
}
