.aae-accordion {
    background: #0d0e0d;
    color: #ddd8cc;
    width: 100%;
    font-family: Georgia, "Times New Roman", serif;
}

.aae-item {
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.045);
}

.aae-header {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    display: grid;
    grid-template-columns: 38px minmax(250px, 1fr) auto 34px;
    align-items: center;
    gap: 18px;
    min-height: 114px;
    padding: 0 28px 0 12px;
    cursor: pointer;
    transition: background .25s ease;
}

.aae-header:hover,
.aae-header:focus {
    background: rgba(255,255,255,0.015);
    outline: none;
}

.aae-number {
    font-family: Arial, sans-serif;
    font-size: 7px;
    letter-spacing: 2px;
    color: #b79b43;
}

.aae-title {
    font-size: 27px;
    line-height: 1.2;
    font-weight: 400;
    color: #d7d2c7;
}

.aae-tags {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.aae-tag {
    display: inline-flex;
    align-items: center;
    min-height: 19px;
    padding: 3px 9px;
    border: 1px solid #776424;
    color: #ad9340;
    font-family: Arial, sans-serif;
    font-size: 6px;
    line-height: 1;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.aae-toggle {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b79b43;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    transition: transform .35s ease, background .25s ease;
}

.aae-item.active .aae-toggle {
    transform: rotate(45deg);
    background: rgba(183,155,67,.08);
}

.aae-content-wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1);
}

.aae-item.active .aae-content-wrap {
    grid-template-rows: 1fr;
}

.aae-content-overflow {
    overflow: hidden;
}

.aae-content {
    display: grid;
    grid-template-columns: 38px minmax(350px,1.6fr) minmax(200px,.7fr) 34px;
    gap: 18px;
    padding: 0 28px 42px 12px;
}

.aae-description {
    grid-column: 2;
    font-family: Arial, sans-serif;
    font-size: 11px;
    line-height: 1.8;
    color: #a8a293;
    max-width: 850px;
}

.aae-deliverables {
    grid-column: 3;
}

.aae-deliverables-title {
    margin-bottom: 14px;
    color: #b79b43;
    font-family: Arial, sans-serif;
    font-size: 7px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.aae-deliverables ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.aae-deliverables li {
    position: relative;
    margin-bottom: 9px;
    padding-left: 28px;
    color: #aaa497;
    font-family: Arial, sans-serif;
    font-size: 9px;
    line-height: 1.4;
}

.aae-deliverables li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 16px;
    height: 1px;
    background: #8b7429;
}

.aae-item.active .aae-header {
    min-height: 100px;
}

@media (max-width: 1024px) {
    .aae-header {
        grid-template-columns: 28px 1fr 30px;
        min-height: 100px;
        padding-right: 18px;
    }
    .aae-tags {
        grid-column: 2;
        justify-content: flex-start;
        padding-bottom: 20px;
    }
    .aae-toggle {
        grid-column: 3;
        grid-row: 1;
    }
    .aae-content {
        grid-template-columns: 28px 1fr;
        padding-right: 20px;
    }
    .aae-description,
    .aae-deliverables {
        grid-column: 2;
    }
    .aae-deliverables {
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    .aae-header {
        grid-template-columns: 25px 1fr 28px;
        gap: 10px;
        min-height: 90px;
        padding: 18px 14px 18px 8px;
    }
    .aae-number { font-size: 6px; }
    .aae-title { font-size: 21px; }
    .aae-tags {
        grid-column: 2 / 4;
        justify-content: flex-start;
        padding-bottom: 0;
        margin-top: 2px;
    }
    .aae-tag {
        font-size: 5px;
        padding: 3px 6px;
    }
    .aae-content {
        display: block;
        padding: 0 20px 30px 43px;
    }
    .aae-description { font-size: 10px; }
    .aae-deliverables { margin-top: 24px; }
}
