// WordPress Specific Styles
.screen-reader-text {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.aligncenter {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.alignfull {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.gallery {
    display: grid;
    grid-gap: 10px;
    margin-bottom: 25px;

    .gallery-item {
        margin: 0;

        .gallery-caption {
            text-align: center;
            font-size: 12px;
            color: var(--farallon-text-light);
        }
    }

    &-columns-2,
    &-columns-4,
    &-columns-5,
    &-columns-7,
    &-columns-8 {
        grid-template-columns: repeat(2, 1fr);
    }

    &-columns-3,
    &-columns-6,
    &-columns-9 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.grap--figure,
.colonel--figure,
.wp-caption {
    margin: 0 -50px 25px;
    position: relative;
    max-width: calc(100% + 100px);
    line-height: 1;

    img {
        border-radius: 4px;
    }

    @media (max-width: 820px) {
        margin: 0 0 20px;
        margin-left: -3.5%;
        margin-right: -3.5%;
        max-width: calc(100% + 7%);
        img {
            border-radius: 0;
        }
    }

    .imageCaption,
    .wp-caption-text {
        font-size: 12px;
        text-align: center;
        position: absolute;
        bottom: 12px;
        left: 12px;
        color: #fff;
        background-color: rgba(18, 18, 18, 0.8);
        border-radius: 5px;
        padding: 8px 10px;
    }
}

.widget_links {
    font-size: var(--farallon-text-size-small);
    color: var(--farallon-text-light);

    .blogroll {
        padding: 5px 0;
        display: flex;
        flex-wrap: wrap;

        li {
            margin-right: 15px;
            margin-bottom: 15px;

            a {
                img {
                    width: 20px;
                    height: 20px;
                    margin-right: 5px;
                    vertical-align: middle;
                }

                &:hover {
                    color: var(--farallon-hover-color);
                    text-decoration: underline;
                }
            }
        }
    }
}
