.downloads-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.downloads-page h1 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.no-files {
    text-align: center;
    font-size: 18px;
    color: #777;
}

.file-group {
    margin-bottom: 40px;
}

.file-group h2 {
    margin-bottom: 15px;
    color: #000;
    padding-bottom: 10px;
    font-family: Outfit, serif;
    font-size: 39px;
    font-weight: 600;
    line-height: 47px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;

}

.file-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.file-preview {
    background: #CECECE1A;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px 40px;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    flex-grow: 1;
}

.file-preview img {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.file-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.file-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
}

.file-icon {
    font-size: 24px;
    margin-right: 10px;
}

.file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview canvas {
    width: 100%;
    height: auto;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.d-flex-space-between {
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 25px;
}

.d-flex-space-between span {
    font-family: Outfit, serif;
    font-weight: 600;
    font-size: 18px;
    leading-trim: Cap height;
    line-height: 27px;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-offset: Auto;
    text-decoration-thickness: Auto;
    text-transform: capitalize;
    color: #231F20;
}

.d-flex-space-between svg {
    fill: #A89072;
    stroke: #A89072;
    stroke-width: 4;
}

[class$="-toggle-button"] {
    width: 129px;
    height: 51px;
    padding: 20px 24px;
    border-radius: 7px;
    background-color: #313131;
    color: #ffffff;
    font-family: Open Sans, serif ;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 11px;
}

[class$="-toggle-button"]:hover, [class$="-toggle-button"]:focus {
    background-color: #313131;
    color: #ffffff;
}

.row.row-5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    margin-left: 0;
    margin-right: 0;
}

.row.row-5::before,
.row.row-5::after {
    content: none !important;
    display: none !important;
}

.row.row-5 .item {
    display: block;
    width: 100%;
    margin-bottom: 3em;
}

@media (max-width: 1200px) {
    .row.row-5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 992px) {
    .row.row-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .row.row-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .row.row-5 { grid-template-columns: 1fr; }
}

.fixed-navbar {
    padding: 10px 0;
}

.fixed-navbar nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fixed-navbar nav ul li {
    margin: 0;
    padding: 0;
}

.fixed-navbar nav ul li a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
}

.fixed-navbar nav ul li:not(:last-child) {
    border-right: 1px solid #ccc;
}

.fixed-navbar nav ul li a:hover {
    color: #0073e6;
}

@media (max-width: 768px) {
    .fixed-navbar nav ul {
        align-items: stretch;
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .fixed-navbar nav ul li {
        display: inline-flex;
        align-items: center;
    }

    .fixed-navbar nav ul li:last-child a {
        border-bottom: none;
    }
}

.breadcrumbs {
    margin: 0 0 10px !important;
}

.downloads-page #catalogs .d-flex-space-between {
    align-items: center;
}

.page-main {
    max-width: 100% !important;
    padding: 0 !important;
}