:root{
    --gd-ink:#0b3443;
    --gd-muted:#5a6670;
    --gd-line:#e8dfd4;
    --gd-soft:#f7f1e8;
    --gd-accent:#bd8b42;
    --gd-button:#173f4a;
}

.gd-directory{
    font-family:inherit;
    color:var(--gd-ink);
    width:100%;
}

.gd-filters{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:12px;
    border:1px solid var(--gd-line);
    border-radius:18px;
    padding:22px;
    background:#fff;
    margin-bottom:54px;
}

.gd-search-wrap{
    position:relative;
}

.gd-search-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    color:#4f626b;
    pointer-events:none;
}

.gd-search,
.gd-category-filter{
    width:100%;
    height:52px;
    border:1px solid var(--gd-line);
    border-radius:8px;
    background:#fff;
    color:var(--gd-ink);
    font:inherit;
    outline:none;
}

.gd-search{
    padding:0 16px 0 44px;
}

.gd-category-filter{
    padding:0 16px;
}

.gd-search:focus,
.gd-category-filter:focus{
    border-color:#c6b59f;
    box-shadow:0 0 0 2px rgba(198,181,159,.15);
}

.gd-list{
    display:flex;
    flex-direction:column;
    gap:22px;
}

.gd-item{
    display:grid;
    grid-template-columns:70px 1fr auto;
    gap:20px;
    align-items:center;
    padding:28px 26px;
    min-height:170px;
    background:#fff;
    border:1px solid var(--gd-line);
    border-radius:18px;
}

.gd-doc-icon{
    width:64px;
    height:64px;
    border-radius:14px;
    background:var(--gd-soft);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--gd-ink);
}

.gd-item-content{
    min-width:0;
}

.gd-category-label{
    margin-bottom:8px;
    color:var(--gd-accent);
    text-transform:uppercase;
    letter-spacing:.05em;
    font-size:12px;
    line-height:1.3;
}

.gd-title{
    margin:0 0 10px;
    font-family:Georgia,"Times New Roman",serif;
    font-size:21px;
    line-height:1.25;
    font-weight:500;
    color:var(--gd-ink);
}

.gd-description{
    margin-bottom:9px;
    font-size:15px;
    line-height:1.5;
    color:#274653;
}

.gd-date{
    font-size:13px;
    color:#425761;
}

.gd-item-action{
    padding-left:18px;
}

.gd-download{
    min-width:156px;
    height:46px;
    padding:0 22px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:var(--gd-button);
    color:#fff !important;
    text-decoration:none !important;
    font-size:13px;
    font-weight:700;
    transition:transform .15s ease, opacity .15s ease;
}

.gd-download:hover{
    transform:translateY(-1px);
    opacity:.92;
}

.gd-download-icon{
    display:flex;
    align-items:center;
}

.gd-no-file{
    color:#8b8b8b;
    font-size:13px;
}

.gd-empty{
    margin-top:22px;
    padding:20px;
    text-align:center;
    border:1px dashed var(--gd-line);
    border-radius:14px;
}

@media(max-width:900px){
    .gd-item{
        grid-template-columns:64px 1fr;
    }

    .gd-item-action{
        grid-column:2;
        padding-left:0;
    }
}

@media(max-width:680px){
    .gd-filters{
        grid-template-columns:1fr;
        padding:14px;
        margin-bottom:32px;
    }

    .gd-item{
        grid-template-columns:54px 1fr;
        gap:14px;
        padding:22px 18px;
    }

    .gd-doc-icon{
        width:54px;
        height:54px;
    }

    .gd-title{
        font-size:19px;
    }

    .gd-item-action{
        grid-column:1/-1;
    }

    .gd-download{
        width:100%;
    }
}
