/***************************************************************************
* Links
****************************************************************************/
a, a:visited {
    color: inherit;
    transition: color .25s ease;
    text-decoration: underline;
}
a:hover, a:focus {
    color: inherit;
}

a:focus {
    outline: 0.125rem solid rgba(0,0,0,0.1);
}

a.no_underline { text-decoration: none; }
.menu li a {text-decoration: none;}
a.item_inner { text-decoration: none; }

/***************************************************************************
* Buttons
****************************************************************************/
.button, .button:visited{
    padding: 0.4125em 0.75em;
    position: relative;
    z-index: 1;
    /*background-color: var(--typo-color-black);*/
    background-color: transparent;
    color: var(--typo-color-white);
    border-radius: var(--typo-border-radius);
    text-transform: uppercase;
    font-size: 0.875em;
    font-weight: 500;
    overflow: hidden;
    text-decoration: none;
}
.button:before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: auto; height: auto; z-index: -2;
    background-color: var(--typo-color-black);
}
/*
.button:after {
    content: ''; position: absolute;
    top: 50%; left: 50%; 
    width: 0; height: 0; z-index: -1;
    transform: translate(-50%,-50%);
    background-color: var(--typo-color-yellow);
    transition: all .25s ease;
}
.button:hover:after,
.button:focus:after {
    width: 105%; height: 105%;
}
*/
.button:after {
    content: ''; position: absolute;
    top: 50%; left: 0; 
    width: 0; height: 105%; z-index: -1;
    transform: translate(0,-50%);
    background-color: var(--typo-color-yellow);
    transition: all .25s ease;
}
.button:hover:after,
.button:focus:after {
    width: 105%;
}

.button:hover,
.button:focus {
    /*background-color: var(--typo-color-yellow);*/
    color: var(--typo-color-black)
}

/***************************************************************************
* Text Button
****************************************************************************/
.text_button {
    text-transform: uppercase;
    font-size: 0.75em;
    font-weight: 700;
}
.text_button:after {
    content: '>';
    margin-left: 0.25em;
}

/***************************************************************************
* Button Group
****************************************************************************/
.button-group {
    margin-bottom: 2em;
    margin-top: 2em;
}
.button-group:last-child {
    margin-bottom: 0;
}

.button-group:has(.text_button){
    margin-left: 0;
    margin-right: 0;
}