/* Extracted from event/past-speakers-list.php.
   Linked from that same file so the cascade order is unchanged. */

.compact-spk-section {
        padding: 80px 0;
        background-color: #fefdfb;
    }

    .compact-spk-title {
        color: #8B0000;
        font-weight: 800;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 50px;
        position: relative;
    }

    .compact-spk-title::after {
        content: '';
        width: 60px;
        height: 3px;
        background: #C5A036;
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
    }

    .compact-spk-card {
        background: #fff;
        border-radius: 12px;
        display: flex;
        align-items: center;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(139, 0, 0, 0.05);
        transition: 0.3s;
        border: 1px solid #eee;
        height: 100%;
        margin-bottom: 10px;
    }

    .compact-spk-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(197, 160, 54, 0.15);
        border-color: #C5A036;
    }

    .compact-spk-img-box {
        flex-shrink: 0;
        width: 110px;
        height: 110px;
        border-radius: 50%;
        overflow: hidden;
        border: 4px solid #f9f9f9;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .compact-spk-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .compact-spk-content {
        padding-left: 20px;
        flex-grow: 1;
    }

    .compact-spk-label {
        display: block;
        color: #C5A036;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    .compact-spk-content h3 {
        font-size: 18px;
        color: #8B0000;
        font-weight: 700;
        margin: 0 0 4px 0;
    }

    .compact-spk-dept {
        color: #030303;
        font-size: 16px;
        margin: 0;
    }

    .compact-spk-line {
        width: 30px;
        height: 2px;
        background: #C5A036;
        margin: 12px 0;
    }

    .compact-spk-meta {
        font-size: 13px;
        color: #555;
        margin: 0;
        line-height: 1.5;
    }

    .compact-spk-meta strong {
        color: #8B0000;
        font-weight: 600;
        font-size: 14px;
    }

    .compact-spk-meta span {
        color: #000000;
        font-size: 16px;
    }

    .compact-spk-btn {
        background: #8B0000;
        color: #fff;
        border: 2px solid #8B0000;
        padding: 12px 30px;
        border-radius: 50px;
        font-weight: 600;
        text-transform: uppercase;
        transition: 0.3s;
        text-decoration: none;
        display: inline-block;
    }

    .compact-spk-btn:hover {
        background: #C5A036;
        color: #8B0000;
        border-color: #C5A036;
    }

    @media (max-width: 767px) {
        .compact-spk-card {
            flex-direction: column;
            text-align: center;
        }

        .compact-spk-img-box {
            margin-bottom: 15px;
        }

        .compact-spk-content {
            padding-left: 0;
        }

        .compact-spk-line {
            margin: 12px auto;
        }
    }
