/* editing tool */

.entry-content {
    .txt-left {
        text-align: left;
    }
    .txt-center {
        text-align: center;
    }
    .txt-right {
        text-align: right;
    }
    .space-out {
        margin-top: 2.4rem;
        margin-bottom: 2.4rem;
    }
    .mobile-off {
        /* Mobile display duplicated content */
        display: block;
        @include mobile-minus {
            display: none;
        }
    }
    .mobile-on {
        /* Mobile display duplicated content */
        display: none;
        @include mobile-minus {
            display: block;
        }
    }
    .two-grid {
        display: grid;
        grid-template-columns: 100%;
        grid-gap: 24px;
        margin-bottom: 1rem;
        @include desktop-plus {
            grid-template-columns: 50% 50%;
        }
        p:empty {
            display: none;
        }
    }
    .two-column {
        @include desktop-plus {
            column-count: 2;
            column-gap: 30px;
            >div {
                break-inside: avoid-column;
                float: right;
            }
        }
        .two-column p:empty {
            display: none;
        }
    }
    .masonry {
        @include desktop-plus {
            display: flex;
            flex-flow: column wrap;
            flex-direction: row;
            >div:nth-child(n + 1) {
                order: 1;
            }
            >div:nth-child(n) {
                order: 2;
            }
        }
        .card {
            background: #f9f9f9;
            border-radius: 8px;
            padding: 0 15px;
            margin: 5px;
            border: 3px #f9f9f9 solid;
            transition: background 0.5s ease;
            @include desktop-plus {
                width: calc(50% - 10px);
                margin: 5px 5px;
            }
        }
        &:hover {
            background: none;
        }
    }
    .extra-info {
        background: #f9f9f9;
        padding: 10px 20px 10px 20px;
        margin-bottom: 24px;
        width: 100%;
        >.extra-info__show {
            cursor: pointer;
            &:after {
                transition: background 0.5s ease;
                content: "+";
                display: block;
                bottom: 0;
                line-height: 30px;
                font-size: 30px;
                font-weight: bold;
                color: #a9d8ef;
                font-family: arial;
                margin-left: 10px;
                background: #e4ecef;
                width: 30px;
                height: 30px;
                text-align: center;
                float: right;
                border-radius: 100%;
            }
            &:hover:after {
                background: #076b9c;
            }
        }
        >.extra-info__hide {
            display: block;
        }
        &.extra-info__close {
            border-radius: 50px;
            position: relative;
            >.extra-info__hide {
                display: none;
            }
            @include desktop-plus {
                &:nth-child(2) {
                    margin-top: 20px;
                }
            }
        }
        &:not(.extra-info__close) {
            .extra-info__show {
                &:after {
                    content: "-";
                    display: block;
                    bottom: 0;
                    line-height: 25px;
                    font-size: 30px;
                    font-weight: bold;
                    color: #a9d8ef;
                    font-family: arial;
                    margin-left: 10px;
                    background: #e4ecef;
                    width: 30px;
                    height: 30px;
                    text-align: center;
                    float: right;
                    border-radius: 100%;
                }
                &:hover:after {
                    background: #076b9c;
                }
            }
        }
    }
}