/*
Theme Name: Foodie
Theme URI: https://studiogem.co/foodie
Description: A WordPress theme by Studio Gem.
Version: 1.7.2
Text Domain: foodie
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Author: Studio Gem
Author URI: https://studiogem.co
 */

/* ------------------------------------------------------------------------------
>>> TABLE OF CONTENTS:
---------------------------------------------------------------------------------
- Normalize
- Typography
- Elements
- Forms
- Structure and Layout
- Accessibility
- Alignments
- Float Clearing
- Site Header
- Navigation
- Content Area
- Widgets
- Site Footer
- Media
 */

/* Normalize
---------------------------------------------------------------------------- */

/* @formatter:off */
html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}h1{font-size:2em;}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}
/* @formatter:on */

/* Typography
---------------------------------------------------------------------------- */

html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #f5f5f5;
    color: #222;
    font-family: "Work Sans", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;
    margin: 0;
}

.entry-content,
.entry-summary,
.entry-footer,
.entry-header span,
.archive-description {
    font-family: "Lora", Georgia, serif;
}

.entry-footer,
.entry-header span {
    font-style: italic;
}

a,
.entry-content a:hover {
    color: #222;
    text-decoration: none;
}

.entry-content a,
a:focus,
a:hover {
    color: #e53a71;
    outline: 0;
}

p {
    margin: 0 0 1.8em;
    padding: 0;
}

b,
strong {
    font-weight: 700;
}

blockquote,
cite,
em,
i {
    font-style: italic;
}

mark {
    background: #ddd;
    color: #222;
}

blockquote,
.wp-block-quote {
    margin-bottom: 2em;
}

/* Headings
--------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding: 0;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 24px;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

.site-title a,
.site-title a:hover,
.entry-title a,
.entry-title a:hover,
.entry-content .widget_dpe_fp_widget a {
    color: #222;
}

/* Elements
---------------------------------------------------------------------------- */

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

hr {
    border: 0;
    border-collapse: collapse;
    border-bottom: 1px solid #ddd;
    clear: both;
    color: #eee;
    margin: 2em auto;
}

.wp-block-separator {
    border-width: 1px;
    border-color: #ddd;
    margin: 2em auto;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    max-width: 100px;
}

.wp-block-separator.is-style-dots {
    color: #222;
}

ol,
ul,
.entry-content .dpe-flexible-posts {
    margin: 0;
    padding: 0;
}

li,
.entry-content .dpe-flexible-posts li {
    list-style-type: none;
}

img {
    height: auto;
    /* Make sure images are scaled correctly. */
    max-width: 100%;
    /* Adhere to container width. */
}

.dpe-flexible-posts a img:hover {
    opacity: .8;
}

figure {
    margin: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button,
.dpe-flexible-posts a img,
.gallery img {
    transition: all 0.2s ease-in-out;
}

table {
    margin: 0 0 1.8em;
    width: 100%;
}

/* Forms
---------------------------------------------------------------------------- */

input,
select,
textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    color: #222;
    font-size: 14px;
    font-weight: 400;
    padding: 15px;
    width: 100%;
}

input:focus,
textarea:focus {
    border: 1px solid #999;
    outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
    width: auto;
}

::-ms-input-placeholder {
    color: #222;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #222;
    opacity: 1;
}

::placeholder {
    color: #222;
    opacity: 1;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.wp-block-button__link {
    background-color: #fff;
    border: 1px solid #222;
    border-radius: 0;
    color: #222;
    cursor: pointer;
    font-family: "Work Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2em;
    padding: 15px 30px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: normal;
    width: auto;
}

button:focus,
button:hover,
input[type="button"]:focus,
input[type="button"]:hover,
input[type="reset"]:focus,
input[type="reset"]:hover,
input[type="submit"]:focus,
input[type="submit"]:hover,
.button:focus,
.button:hover,
.wp-block-button__link:not(.has-text-color):hover,
.wp-block-button__link:not(.has-background-color):hover {
    background-color: #222;
    color: #fff;
}

.button {
    display: inline-block;
}

.search-form input[type="submit"] {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    width: 1px;
}

.entry-content .button:not(.has-text-color),
.entry-content .wp-block-button__link:not(.has-text-color) {
    color: #111;
}

.entry-content .button:not(.has-text-color):hover,
.entry-content .wp-block-button__link:not(.has-text-color):hover {
    color: #fff;
}

/* Structure and Layout
---------------------------------------------------------------------------- */

.site-content {
    margin-top: 2em;
}

.site {
    background: #fff;
    margin: 4em auto;
    padding: 60px;
    width: 90%;
    overflow-x: hidden;
}

@media only screen and (max-width: 1180px) {
    .site {
        padding: 60px 30px;
    }
}

@media only screen and (min-width: 960px) {

    .site {
        max-width: 1240px;
    }

    #primary {
        float: left;
        width: 65%;
    }

    #secondary {
        float: right;
        width: 28%;
    }

}

.full-width-content #primary,
.no-sidebar #primary {
    float: none;
    margin: 0 auto;
    width: 100%;
}

.page-template-landing-page .site {
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.page-template-landing-page {
    background: #fff;
}

/* Accessibility
---------------------------------------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background: #fff;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #222;
    display: block;
    font-size: 1em;
    font-weight: 700;
    height: auto;
    padding: 15px 23px 14px;
    text-decoration: none;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/* Alignments
---------------------------------------------------------------------------- */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

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

@media only screen and (min-width: 960px) {
    .full-width-content .alignwide {
        margin-left: -80px;
        margin-right: -80px;
        max-width: 100vw;
    }
}

.full-width-content .alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
}

.full-width-content .alignfull img {
    width: 100vw;
}

.full-width-content .wp-block-cover.alignfull {
    width: 100vw;
}

/* Float Clearing
---------------------------------------------------------------------------- */

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
    content: "";
    display: table;
    table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
    clear: both;
}

/* Site Header
---------------------------------------------------------------------------- */

.site-header {
    text-align: center;
}

.site-branding {
    margin-bottom: 30px;
}

@media (min-width: 960px) {
    .site-branding {
        margin-bottom: 60px;
    }
}

.site-title {
    font-family: "Jost", sans-serif;
    font-size: 55px;
    font-weight: 600;
    letter-spacing: .2em;
    margin: 0 -.2em 0 0;
    text-transform: uppercase;

    line-height: 1.2;
}

.site-description {
    font-family: "Lora", serif;
    font-style: italic;
    line-height: 1.2;
    margin: 0;
}

.custom-logo,
.custom-logo-link {
    display: block;
}

.custom-logo,
.woocommerce .custom-logo,
.woocommerce-page .custom-logo {
    width: 100%;
    max-width: 300px;
}

.wp-custom-logo .site-description,
.wp-custom-logo .site-title {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* Navigation
---------------------------------------------------------------------------- */

.main-navigation {
    border-bottom: 3px double #eee;
    border-top: 3px double #eee;
    clear: both;
    display: block;
    width: 100%;
}

#secondary-menu.main-navigation {
     background: #222;
     border: 0;
 }

#secondary-menu.main-navigation a {
    color: #fff;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    text-align: center;
}

.main-navigation ul ul {
    background: #fff;
    border: 1px solid #eee;
    border-top: 3px double #eee;
    text-align: left;
    float: left;
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    opacity: 0;
    -webkit-transition: opacity .4s ease-in-out;
    -moz-transition: opacity .4s ease-in-out;
    -ms-transition: opacity .4s ease-in-out;
    -o-transition: opacity .4s ease-in-out;
    transition: opacity .4s ease-in-out;
}

#secondary-menu.main-navigation ul ul {
    background: #222;
    border: 0;
}

#secondary-menu.main-navigation ul ul a {
    color: #fff;
}

.main-navigation ul ul ul {
    left: -999em;
    top: 2px;
    margin-top: -3px;
    border-top: 1px solid #eee;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
    left: 100%;
}

.main-navigation ul ul a {
    color: #222;
    width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    left: auto;
    opacity: 1;
}

.main-navigation li {
    display: inline-block;
    position: relative;
}

.main-navigation a {
    color: #222;
    display: block;
    font-size: 12px;
    letter-spacing: .2em;
    padding: 1.5em 2em;
    text-decoration: none;
    text-transform: uppercase;
}

.main-navigation a:hover {
    color: #222;
}

.main-navigation a i {
    margin-left: 5px;
}

.site-main .comment-navigation, .site-main
.posts-navigation, .site-main
.post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

.navigation.post-navigation {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2em;
    margin-top: 2em;
    text-transform: uppercase;
}

/* Slicknav
--------------------------------------------- */

.slicknav_menu {
    background: #222;
    display: none;
    text-transform: uppercase;
    letter-spacing: .15em;
    padding: 1em;
    text-align: center;
}

.slicknav_menutxt {
    display: flex;
    justify-content: center;
    align-items: center;
}

.slicknav_menutxt {
    font-size: 16px;
    line-height: 1.2;
}

.slicknav_menutxt:before {
    font-size: 28px;
}

a.slicknav_btn,
.slicknav_btn,
.slicknav_btn:hover,
.slicknav_menu a,
.slicknav_menu a:hover {
    color: #fff;
}

.slicknav_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slicknav_nav li {
    margin-top: 15px;
    text-align: left;
}

@media screen and (max-width: 900px) {
    .slicknav_menu {
        display: block;
    }

    .main-navigation {
        display: none;
    }
}

/* Slicknav menu icon */
.slicknav_collapsed .slicknav_menutxt:before {
    content: "\f333";
    font-family: "Dashicons";
    font-weight: normal;
}

/* Slicknav menu icon close */
.slicknav_open .slicknav_menutxt:before {
    content: "\f335";
    font-family: "Dashicons";
    font-weight: normal;
}

.slicknav_arrow {
    float: right;
    font-size: 16px;
}

/* Footer Menu
--------------------------------------------- */

.footer-navigation {
    font-size: 14px;
    margin-top: 30px;
}

.footer-navigation ul {
    text-align: center;
}

.footer-navigation li {
    display: inline-block;
}

.footer-navigation li a:after {
    color: #aaa;
    content: "/";
    padding: 0 6px;
}

.footer-navigation li:last-of-type a:after {
    display: none;
}

/* Content Area
---------------------------------------------------------------------------- */

@media screen and (min-width: 800px) {
    .grid-row {
        display: flex;
    }

    .grid-row .post {
        border: 0;
        margin-right: 2em;
        margin-bottom: 1.8em;
        padding: 0;
        width: calc(33.33% - 1em);
    }

    .grid-row .post:nth-child(3n) {
        margin-right: 0;
    }
}

.post {
    border-bottom: 1px solid #eee;
    margin-bottom: 4em;
    padding-bottom: 3.2em;
}

.single .post,
.post:last-of-type {
    margin-bottom: 1.8em;
}

/* Entry Content
--------------------------------------------- */

.sticky {
    display: block;
}

.updated:not(.published) {
    display: none;
}

.page-content,
.entry-content,
.entry-summary {
    margin: 2em 0 0;
}

.page-template-category-index-page .entry-content {
    margin-top: 0;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.entry-content ol,
.entry-content ul {
    margin-bottom: 30px;
    padding-left: 40px;
}

.entry-content ol > li {
    list-style-type: decimal;
}

.entry-content ul > li {
    list-style-type: disc;
}

.entry-content ol ul > li,
.entry-content ul ul > li {
    list-style-type: circle;
}

.entry-content ol ol,
.entry-content ul ul {
    margin-bottom: 0;
}

/* Entry Meta
--------------------------------------------- */

.entry-title,
.widget_dpe_fp_widget h2.entry-title {
    font-family: "Work Sans", sans-serif;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: normal;
    margin-bottom: 8px;
    margin-top: 0;
    text-transform: none;
}

.grid-row .entry-title,
.foodie-popular-post-entry .entry-title {
    font-size: 14px;
    letter-spacing: .1em;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

.entry-header {
    margin-bottom: 1.8em;
}

.home .entry-header {
    text-align: center;
}

.home .entry-summary {
    margin-top: 10px;
}

.full-width-content .entry-header {
    text-align: center;
}

.page-header {
    background: #f5f5f5;
    margin-bottom: 2em;
    padding: 2em;
}

.page-header .page-title {
    font-size: 16px;
    letter-spacing: .1em;
    margin: 0;
    text-transform: uppercase;
}

.archive-description p {
    margin: 1.8em 0 0 0;
}

.comments-link:before {
    content: "\00b7";
    margin: 0 4px;
}

.page-template-category-index-page .entry-header {
    display: none;
}

/* Comments
--------------------------------------------- */

#comments {
    margin-top: 2em;
}

.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

#comments .children {
    margin-left: 4%;
}

.comment-body {
    background: #f8f8f8;
    margin-bottom: 2em;
    padding: 2em;
}

.comments-title,
#comments .avatar {
    display: none;
}

/* Widgets
---------------------------------------------------------------------------- */

.widget {
    margin: 0;
}

#secondary .widget {
    margin-bottom: 3em;
}

.widget-title {
    background: #f5f5f5;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .2em;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
}

.widget_recent_entries ul li a {
    border-bottom: 1px solid #eee;
    display: block;
    padding: 10px 0;
}

.textwidget,
.widget_recent_entries ul li a {
    font-family: "Lora", serif;
}

/* eNews Widget
--------------------------------------------- */

.enews input {
    margin-bottom: 10px;
}

/* Popular Posts
--------------------------------------------- */

@media screen and (min-width: 800px) {
    .flex {
        display: flex;
    }

    .foodie-popular-post-entry {
        flex: 1;
        margin-right: 2em;
        text-align: center;
    }

    .foodie-popular-post-entry:last-of-type {
        margin-right: 0;
    }
}

.foodie-popular-post-entry .entry-title {
    margin: 10px 0 0 0;
}

/* Flexible Posts Widget
--------------------------------------------- */

.widget_dpe_fp_widget {
    clear: both;
    font-family: "Work Sans", sans-serif;
}

.widget_dpe_fp_widget .entry-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    margin-top: 20px;
    text-align: center;
    text-transform: uppercase;
}

.widget_dpe_fp_widget .post {
    border: 0;
    margin-bottom: 1.8em;
    padding-bottom: 0;
}

.footer-widget-area .widget_dpe_fp_widget .post {
    margin-bottom: 0;
}

.excerpt.entry-title {
    font-size: 20px;
}

/* About Widget
--------------------------------------------- */

.foodie_about_widget {
    text-align: center;
}

.round {
    border-radius: 100%;
}

.foodie_about_widget .widget-image img,
.foodie_about_widget .widget-image a {
    display: block;
}

.foodie_about_widget .widget-text {
    margin: 20px 0;
}

.foodie_about_widget .widget-links li {
    display: inline-block;
}

.foodie_about_widget .widget-links li:after {
    content: '\b7';
    display: inline-block;
    margin: 0 10px;
}

.foodie_about_widget .widget-links li:last-of-type:after {
    display: none;
}

/* Featured Posts
--------------------------------------------- */

.foodie_featured_posts_widget ul li {
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.foodie_featured_posts_widget ul li:last-of-type {
    margin-bottom: 0;
}

.foodie_featured_posts_widget .featured-image {
    width: 95px;
    flex-shrink: 0;
}

.foodie_featured_posts_widget .entry-title {
    font-size: 16px;
    padding: 10px 15px;
    flex-grow: 1;
}

/* Site Footer
---------------------------------------------------------------------------- */

.site-footer {
    border-top: 3px double #eee;
    clear: both;
    font-size: 12px;
    letter-spacing: .2em;
    line-height: 1.2;
    padding-top: 4em;
    text-align: center;
    text-transform: uppercase;
}

.footer-widget-area {
    margin: 2em 0;
}

.theme-info {
    display: inline;
    width: 40%;
}

/* Media
---------------------------------------------------------------------------- */

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
img,
object,
video,
.wp-caption {
    max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
    display: inline-block;
}

/* Captions
--------------------------------------------- */

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.wp-caption-text {
    text-align: center;
}

figcaption,
.gallery-caption,
.wp-caption-text {
    margin-top: 0.5em;
    margin-bottom: 1em;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
}

/* Galleries
--------------------------------------------- */

.gallery {
    overflow: hidden;
}

.gallery img {
    border: 1px solid #eee;
    height: auto;
    padding: 4px;
}

.gallery img:focus,
.gallery img:hover {
    border: 1px solid #999;
    outline: none;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    width: 50%;
}

.gallery-columns-3 .gallery-item {
    width: 33%;
}

.gallery-columns-4 .gallery-item {
    width: 25%;
}

.gallery-columns-5 .gallery-item {
    width: 20%;
}

.gallery-columns-6 .gallery-item {
    width: 16.6666%;
}

.gallery-columns-7 .gallery-item {
    width: 14.2857%;
}

.gallery-columns-8 .gallery-item {
    width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    width: 11.1111%;
}

.gallery-columns-2 .gallery-item:nth-child(2n+1),
.gallery-columns-3 .gallery-item:nth-child(3n+1),
.gallery-columns-4 .gallery-item:nth-child(4n+1),
.gallery-columns-5 .gallery-item:nth-child(5n+1),
.gallery-columns-6 .gallery-item:nth-child(6n+1),
.gallery-columns-7 .gallery-item:nth-child(7n+1),
.gallery-columns-8 .gallery-item:nth-child(8n+1),
.gallery-columns-9 .gallery-item:nth-child(9n+1) {
    clear: left;
}

.gallery-item {
    float: left;
    margin: 0 0 30px;
    text-align: center;
}

.site-content .blocks-gallery-grid,
.site-content .wp-block-gallery {
    padding-left: 0;
}

/* Column Classes
---------------------------------------------------------------------------- */

@media screen and (min-width: 800px) {
    .one-half,
    .one-third,
    .one-fourth,
    .one-sixth {
        float: left;
        margin-right: 2.564102564102564%;
    }

    .one-half {
        width: 48.717948717948715%;
    }

    .one-third {
        width: 31.623931623931625%;
    }

    .one-fourth {
        width: 23.076923076923077%;
    }

    .one-sixth {
        width: 14.52991452991453%;
    }

    .one-half:nth-child(even),
    .one-third:nth-child(3n),
    .one-fourth:nth-child(4n),
    .one-sixth:nth-child(6n) {
        margin-right: 0;
    }

    .one-third:nth-of-type(4n),
    .one-fourth:nth-of-type(5n),
    .one-sixth:nth-of-type(7n) {
        clear: left;
    }
}
