.ah-horoscope-wrap {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 100%;
    margin: 0 auto;
}

.ah-sec {
    margin-bottom: 2em;
}

.ah-intro .ah-content p:first-child {
    font-weight: bold;
}

/* Timeline container */
.ah-events-list {
    position: relative;
}

/* The main vertical line of the timeline */
.ah-events-list::before {
    content: '';
    position: absolute;
    left: 25% !important;
    top: 10px !important;
    bottom: 10px !important;
    width: 2px !important;
    background: #b9a16b !important;
    transform: translateX(-50%) !important;
}

.ah-events-list .ah-event-row {
    display: flex;
    position: relative;
    margin-bottom: 2em;
}

.ah-event-timeline {
    flex-basis: 25%;
    max-width: 25%;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}

.ah-event-timeline p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
    font-weight: normal; /* only date (strong) is bold */
}

.ah-event-timeline p strong { font-weight: 700; }
.ah-time-light { color: #999; font-weight: 400; }

/* planet symbol styling */
.ah-planet-symbol { color: #b9a16b; }

.ah-event-content {
    flex-basis: 75%;
    max-width: 75%;
    padding-left: 20px;
    box-sizing: border-box;
}

.ah-event-content p {
    margin-top: 0;
}

/* The dot on the timeline */
.ah-event-row::before {
    content: '' !important;
    position: absolute !important;
    left: 25% !important;
    top: 5px !important;
    width: 14px !important;
    height: 14px !important;
    background: #fff !important;
    border: 3px solid #b9a16b !important;
    border-radius: 50% !important;
    transform: translateX(-50%) scale(1) !important;
    transition: transform 0.3s ease-in-out !important;
    z-index: 1 !important;
}

/* Animation class added by JS on scroll */
.ah-event-row.in-view::before {
    transform: translateX(-50%) scale(1.5) !important;
}

.ah-summary .ah-content {
    background: #fdfaf2; /* Lighter shade for summary */
    border-left: 3px solid #b9a16b; /* New color */
    padding: 1em 1.5em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ah-events-list::before,
    .ah-event-row::before {
        display: none;
    }

    .ah-events-list .ah-event-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 1.5em;
        padding-bottom: 1.5em;
        border-bottom: 1px solid #eee;
    }

    .ah-events-list .ah-event-row:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .ah-event-timeline {
        max-width: 100%;
        flex-basis: auto;
        text-align: left;
        padding-right: 0;
    }

    .ah-event-content {
        max-width: 100%;
        flex-basis: auto;
        padding-left: 0;
    }
}
