/* ============================================================
   IABC Partner Events — shared styles
   Used on: /events, /home
   ============================================================ */

/* ── Section wrapper ── */
.pe-section {
    padding: 50px 0 30px;
    background: #f0f4f8;
}

.pe-section .section-header {
    margin-bottom: 36px;
}

/* ── Card ── */
.pe-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ── Image area ── */
.pe-img {
    height: 190px;
    position: relative;
    flex-shrink: 0;
    background-color: #0d5c6e;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.pe-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pe-img__placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ── Partner Event badge ── */
.pe-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e8590c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* ── Card body ── */
.pe-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pe-title {
    color: #0d5c6e;
    font-weight: 700;
    margin-bottom: 10px;
}

/* ── Meta (date, location) ── */
.pe-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
}

.pe-meta--last {
    margin-bottom: 16px;
}

.pe-meta .fa {
    color: #e8590c;
}

/* ── Register button ── */
.pe-btn {
    margin-top: auto;
    display: inline-block;
    background: #0d5c6e;
    color: #fff;
    padding: 9px 20px;
    border-radius: 5px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: background 0.2s;
}

.pe-btn:hover {
    background: #0a4a59;
    color: #fff;
    text-decoration: none;
}
