.pht-timeline-wrapper {
    background-color: #050B16;
    padding: 60px 20px;
    font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
    overflow: hidden;
}

.pht-timeline {
    position: relative;
    width: 100%;
    margin: 0 auto;
    --pht-line-width: 2px;
    --pht-speed: 400ms;
}

/* Timeline Central Line */
.pht-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: var(--pht-line-width);
    background-color: #C5A059;
    transform: translateX(-50%);
    z-index: 1;
}

/* Timeline Item Setup */
.pht-item {
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Alternating rows logic */
.pht-item:nth-child(odd) {
    justify-content: flex-start;
}
.pht-item:nth-child(even) {
    justify-content: flex-end;
}

/* Center circles */
.pht-circle {
    position: absolute;
    left: 50%;
    top: 50px;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #C5A059;
    border: 3px solid #050B16;
    z-index: 5;
    transition: all var(--pht-speed) ease;
}

/* Connector lines */
.pht-connector-line {
    position: absolute;
    top: 50px;
    height: 1px;
    background-color: rgba(197, 160, 89, 0.4);
    z-index: 3;
    transition: all var(--pht-speed) ease;
}
.pht-item:nth-child(odd) .pht-connector-line {
    right: 50%;
    left: auto;
    width: calc(50% - var(--card-width, 45%));
}
.pht-item:nth-child(even) .pht-connector-line {
    left: 50%;
    right: auto;
    width: calc(50% - var(--card-width, 45%));
}

/* Collapsible biography cards */
.pht-card {
    background: #08111F;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform var(--pht-speed) ease, border-color var(--pht-speed) ease, box-shadow var(--pht-speed) ease;
    cursor: pointer;
}

.pht-card:hover {
    transform: translateY(-5px);
    border-color: #C5A059;
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.15);
}

.pht-item:hover .pht-circle {
    transform: translate(-50%, -50%) scale(1.3);
    background-color: #E0C27A;
    box-shadow: 0 0 12px #C5A059;
}

.pht-item:hover .pht-connector-line {
    background-color: #C5A059;
}

/* Header Trigger styling */
.pht-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.pht-header-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Profile image */
.pht-img-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(197, 160, 89, 0.4);
    transition: all var(--pht-speed) ease;
}
.pht-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter var(--pht-speed) ease;
}

/* Grayscale hover configuration */
.pht-grayscale-hover-yes .pht-img-wrap img {
    filter: grayscale(100%);
}
.pht-grayscale-hover-yes .pht-card:hover .pht-img-wrap img,
.pht-grayscale-hover-yes .pht-item.pht-active .pht-img-wrap img {
    filter: grayscale(0%);
}

/* Profile typography */
.pht-title-group {
    display: flex;
    flex-direction: column;
}

.pht-year {
    font-size: 11px;
    color: #C5A059;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.pht-title {
    font-size: 18px;
    color: #FFFFFF;
    margin: 3px 0;
    font-weight: 500;
    transition: color var(--pht-speed) ease;
}
.pht-card:hover .pht-title {
    color: #E0C27A;
}

.pht-subtitle {
    font-size: 12px;
    color: #A9B2C3;
    letter-spacing: 1px;
}

/* Arrow rotation */
.pht-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    transition: transform var(--pht-speed) cubic-bezier(0.4, 0, 0.2, 1);
}
.pht-arrow svg {
    width: 16px;
    height: 16px;
    fill: #C5A059;
    transition: fill var(--pht-speed) ease;
}

.pht-item.pht-active .pht-arrow {
    transform: rotate(90deg);
}

/* Content Container transitions */
.pht-content-wrapper {
    overflow: hidden;
    transition: max-height var(--pht-speed) cubic-bezier(0.4, 0, 0.2, 1), opacity var(--pht-speed) cubic-bezier(0.4, 0, 0.2, 1);
}

.pht-content-inner {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 15px;
}

.pht-badge {
    display: inline-block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #C5A059;
    border: 1px solid rgba(197, 160, 89, 0.3);
    padding: 3px 8px;
    border-radius: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.pht-description {
    font-size: 14px;
    line-height: 1.6;
    color: #A9B2C3;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 20px;
}

.pht-description p {
    margin-bottom: 1em;
}

/* Premium historical button styling */
.pht-btn {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #C5A059;
    border: 1px solid #C5A059;
    padding: 10px 22px;
    border-radius: 2px;
    text-decoration: none;
    transition: all var(--pht-speed) ease;
    font-weight: 600;
}
.pht-btn:hover {
    background-color: #C5A059;
    color: #050B16;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 768px) {
    .pht-timeline::before {
        left: 20px;
    }
    .pht-item {
        justify-content: flex-start !important;
        padding-left: 45px;
    }
    .pht-card {
        width: 100% !important;
    }
    .pht-circle {
        left: 20px;
    }
    .pht-connector-line {
        left: 20px !important;
        right: auto !important;
        width: 25px !important;
    }
}


/* custom gpt provide css */

/* Append these rules to the end of your existing style.css. */
.pht-contribution {
	position: relative;
	margin-top: 22px;
}

.pht-contribution-label {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 1.5px;
	color: #C5A059;
	text-transform: uppercase;
}

.pht-contribution-content {
	font-size: 14px;
	line-height: 1.6;
	color: #A9B2C3;
	font-family: 'Montserrat', sans-serif;
	margin-top: 12px;
}

.pht-contribution-content p {
	margin-bottom: 1em;
}

.pht-quote-icon {
	display: inline-block;
	margin-right: 8px;
	color: rgba(255, 255, 255, 0.08);
	font-family: Georgia, serif;
	font-size: 52px;
	font-weight: 700;
	line-height: 0;
	vertical-align: -15px;
}

