/**
 * Document Info List Widget Styles
 */

@import url('base/variables.css');
@import url('layout/container.css');
@import url('components/typography.css');
@import url('components/item.css');
@import url('components/link.css');

@import url('components/accessibility.css');

/* Responsive Styles - These rely on structure and are kept here or in specific files if not dynamic */
/* The dynamic breakpoints are handled inline, these are fallbacks or standard breakpoints */

@media (max-width: 768px) {
    .document-info-list.two-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .document-info-item {
        flex-direction: column;
    }

    .document-info-link-wrapper {
        margin-left: 0;
    }

    /* Adjust download link padding on mobile */
    .document-info-download-link {
        padding: 12px;
        margin: -12px -12px 2px -12px;
    }

    /* Improve tooltip positioning on mobile */
    .document-info-download-link::before {
        bottom: calc(100% + 12px);
        font-size: 11px;
        padding: 6px 10px;
    }
}