.site-nav .trigger {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;

    min-width: 240px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow);

    padding: .5rem 0;

    display: none;

    z-index: 999;
}

.dropdown-content a {
    display: block;

    padding: .65rem 1rem;

    text-decoration: none;

    color: var(--text);

    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}
.site-nav .trigger {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: calc(100% + .5rem);
    left: 0;

    min-width: 240px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow);

    padding: .5rem 0;

    display: none;

    z-index: 999;
}

.dropdown-content a {
    display: block;

    padding: .65rem 1rem;

    text-decoration: none;

    color: var(--text);

    white-space: nowrap;
}

.dropdown-content a:hover {
    background: #f8fafc;
    color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 100%;

    height: 12px;
}
.dropdown > .page-link::after {
    content: "▾";
    margin-left: .35rem;
    transition: transform .2s;
}

.dropdown:hover > .page-link::after {
    transform: rotate(180deg);
}

@media screen and (max-width: 700px) {

    .dropdown-content {
        position: static;
        display: none;
        min-width: 0;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open:hover .dropdown-content {
        display: block;
    }
}

.dropdown-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: .7em;
    transition: transform .2s ease;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}