/**
 * Technical Articles Styles
 * Location: plugins/aktd-elements/assets/css/tech-articles.css
 * 
 * Styles for the technical articles simple two-column display
 * 
 * @package AKT_Elements
 * @since 1.0.0
 */

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

/* Layout (replaces WPBakery row/cols)
   moved to theme global: themes/hoenle-aktd/style.css (.akt-row) */

/* Title */
.tech-articles__title {
    margin-bottom: 40px!important;
    text-align: left;
    color: var(--aktd-color-font);
    text-transform: uppercase;
}

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

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

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

/* Article Link */
.tech-articles__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;
    font-weight: 400;
    word-wrap: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

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

.tech-articles__link:focus {
    outline: none;
}

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

/* Responsive Design */
@media screen and (max-width: 768px) {
    .tech-articles__title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .tech-articles__item {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .tech-articles__title {
        font-size: 20px;
    }
    
    .tech-articles__link {
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .tech-articles__link {
        color: #000;
        text-decoration: none;
    }
}

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

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