/**
 * AAP Recent Content Styles
 * 
 */

.aap-widget__title {
    margin-bottom: 20px;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    -o-align-items: center;
    align-items: center;
    -ms-flex-align: center;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-justify-content: space-between;
    -ms-justify-content: space-between;
    -o-justify-content: space-between;
    justify-content: space-between;
    -ms-flex-pack: justify;
}

.aap-widget__title:after {
    content: '';
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-ordinal-group: 2;
    -moz-box-ordinal-group: 2;
    box-ordinal-group: 2;
    -webkit-order: 2;
    -moz-order: 2;
    order: 2;
    -ms-flex-order: 2;
    margin-left: 0.6em;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

.aap-widget__title-text {
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    margin: 0;
    font-size: 15px;
    font-size: 1.1rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.aap-widget__title .aap-first-word {
    font-weight: 300;
}

.aap-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.aap-recent-list .aap-hwguides {
    /*margin-bottom: 10px;*/
    /*padding-bottom: 8px;*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.aap-recent-list .aap-hwguides:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.aap-recent-list .aap-hwguides a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/*.aap-recent-list .aap-hwguides a:hover {*/
/*    color: #0073aa;*/
/*}*/

.aap-recent-list .aap-hwguides small {
    font-size: 0.85em;
    color: #666;
    font-weight: normal;
}

/* Responsive Design */
@media (max-width: 768px) {
    .aap-widget__title-text {
        font-size: 14px;
        font-size: 1rem;
    }
    
    .aap-recent-list .aap-hwguides {
        margin-bottom: 8px;
        padding-bottom: 6px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .aap-widget__title:after {
        border-top-color: rgba(0, 0, 0, 0.05);
    }
    
    .aap-recent-list .aap-hwguides {
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .aap-recent-list .aap-hwguides small {
        color: #ccc;
    }
}


.aap-hwguides>strong>a:hover {
    background-color: #f2f2f2;
}

.aap-hwguides > strong > a {
    display: block;
    position: relative;
    margin-top: 8px;
    padding: 10px 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    background: rgba(134, 48, 48, 0);
    font-family: "Rubik", Helvetica, Arial, sans-serif;
    text-decoration: none !important;
}