/**
 * Faktaruta Shortcode Styles
 */

.ifous-faktarutor {
    /* Container for all fact boxes */
}

.ifous-faktaruta {
    /* Individual fact box container */
    background-color: #EEF1ED;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    padding: 30px;
    overflow: hidden;
}

.ifous-faktaruta:last-child {
    margin-bottom: 0;
}

.ifous-faktaruta__rubrik {
    /* Fact box heading */
    margin: 0 0 0.75rem 0;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    line-height: 30px !important;
}

.ifous-faktaruta__innehall {
    /* Content area */
    margin-bottom: 1rem;
}

.ifous-faktaruta__innehall img {
    max-width: 100%;
    height: auto;
}

.ifous-faktaruta__innehall > *:last-child {
    margin-bottom: 0;
}

.ifous-faktaruta__link {
    /* Button style link */
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    gap: 13px;
    background: #B2DD3D;
    border-radius: 4px;
    text-decoration: none !important;
    color: #373F3A;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.ifous-faktaruta__link::after {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url('../images/Arrow Right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ifous-faktaruta__link:hover {
    text-decoration: none !important;
    background: #9fc636;
}
