/**
 * Brochures Styles
 * Location: plugins/aktd-elements/assets/css/brochures.css
 * 
 * Styles for the brochures simple two-column display
 * 
 * @package AKT_Elements
 * @since 1.0.0
 */

/* Main Container */
.brochures {
    padding: 0;
    max-width: 100%;
    margin: 0;
    font-family: "DM Sans", sans-serif;
}

/* Title */
.brochures__title {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 40px!important;
    text-align: left;
    color: var(--aktd-color-font);
    text-transform: uppercase;
    line-height: 1.2;
}

/* Container */
.brochures__container {
    position: relative;
    min-height: 100px;
}

/* Items Container - Two Column Layout */
.brochures__items {
    display: block;
    padding: 0;
}

/* Individual Item */
.brochures__item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 8px;
}

/* Brochure Link */
.brochures__link {
    color: var(--aktd-color-dark-blue);
    text-decoration: none !important;
    font-size: 16px;
    font-style: normal;
    line-height: 27px;
    transition: color 0.3s ease;
    display: block;
    position: relative;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.brochures__link:hover {
    color: var(--aktd-color-dark-blue);
    text-decoration: none;
}

.brochures__link:focus {
    outline: none;
}

/* No Results Message */
.brochures__no-results {
    column-span: all;
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .brochures__title {
        /* Keep desktop font size; adjust spacing only */
        margin-bottom: 15px;
    }
    
    /* Single column on mobile */
    .brochures__items {
        column-count: 1;
        column-gap: 0;
    }
    
    .brochures__item {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    /* Remove responsive font-size overrides; keep desktop sizes */
}

/* Print Styles */
@media print {
    .brochures__items {
        column-count: 1;
    }
    
    .brochures__link {
        color: #000;
        text-decoration: none;
    }
}

/* Accessibility */
.brochures__link:focus-visible {
    outline: none;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .brochures__link {
        text-decoration: underline;
    }
}
