/* =========================
   PROFILE PAGE
========================= */

/* HERO */
.profile-hero h1 {
    font-size: 52px;
}

.profile-hero .lead {
    font-size: 20px;
    margin: 20px 0;
    color: #ddd;
}

.profile-image img {
    width: 100%;
    border-radius: 6px;
}

/* STORY */
/* .profile-story {
    max-width: 800px;
} */

.story-content p {
    margin-bottom: 20px;
}

/* AUTHORITY */
.authority-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.authority-item h3 {
    margin-bottom: 10px;
}

/* EXPERIENCE */
.experience-list {
    margin-top: 40px;
}

.experience-item {
    margin-bottom: 30px;
}

.experience-item span {
    font-weight: 600;
    color: #C8A96A;
    display: block;
    margin-bottom: 5px;
}

/* MEDIA */
.media-image img {
    width: 100%;
    border-radius: 6px;
}

/* Responsive */
@media (max-width: 992px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   TIMELINE
========================= */

.profile-timeline {
    position: relative;
}

/* Center line */
.timeline {
    position: relative;
    margin-top: 80px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 1px;
    height: 100%;
    background: #1a1a1a;
    transform: translateX(-50%);
}

/* Items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 40px;
}

/* Left side */
.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

/* Right side */
.timeline-item:nth-child(even) {
    left: 50%;
}

/* Content */
.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border: 1px solid #1a1a1a;
    transition: all 0.4s ease;
}

/* Year */
.timeline-year {
    font-size: 13px;
    color: #C8A96A;
    letter-spacing: 1px;
}

/* Dot */
.timeline-item::after {
    content: "";
    position: absolute;
    top: 50px;
    width: 10px;
    height: 10px;
    background: #C8A96A;
    border-radius: 50%;
    z-index: 2;
}

/* Dot position */
.timeline-item:nth-child(odd)::after {
    right: -5px;
}

.timeline-item:nth-child(even)::after {
    left: -5px;
}

/* Hover */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    border-color: #C8A96A;
}

/* Responsive */
@media (max-width: 992px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        text-align: left !important;
    }

    .timeline-item::after {
        left: 15px !important;
    }
}

.timeline::before {
    height: calc(var(--progress, 0) * 100%);
    background: linear-gradient(to bottom, #C8A96A, #1a1a1a);
}

.profile-story {
    height: 50vh;
    background: linear-gradient(rgba(13, 13, 13, 0.7), rgba(13, 13, 13, 0.9)),
        url('../../img/profile/wef_conversation.jpg') center/cover no-repeat !important;
}