/*
Theme Name:     Foodie 2
Theme URI:      https://foodie-2.studiogem.co
Template:       kadence
Author:         Studio Gem
Author URI:     https://studiogem.co
Description:    a customizable WordPress theme for food blogs
Version:        1_0_0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/

/* global colors */
:root {
    --global-gray-400: #dddddd;
    --global-gray-500: #aaaaaa;
}

/* center site title and tagline */
.site-branding {
    text-align: center;
}

/* remove outer padding from full-width footer area */
.site-footer-row-layout-fullwidth .site-container {
    padding: 0;
}

/* widget title background */
.primary-sidebar.widget-area .widget-title {
    background: var(--global-palette8);
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
}

/* center posts block entry header */
:not(.item-image-style-beside) .wp-block-kadence-posts .entry-header {
    text-align: center;
}

/* center posts block entry meta */
:not(.item-image-style-beside) .wp-block-kadence-posts .entry-meta {
    justify-content: center;
}

/* center archive posts entry header */
#archive-container .entry-header {
    text-align: center;
}

/* center archive posts entry meta */
#archive-container .entry-meta {
    justify-content: center;
}

/* center related posts entry header */
.entry-related-carousel .entry-header {
    text-align: center;
}

/* center related posts entry meta */
.entry-related-carousel .entry-meta {
    justify-content: center;
}

/* remove border from search icon button */
.wp-block-search__button.has-icon {
    border: 0;
}

/* round image option */
.round {
    border-radius: 100%;
}

/* category widget links */
.widget_categories ul li a {
    background: var(--global-palette8);
    color: var(--global-palette3);
    display: block;
    font-family: var(--global-body-font-family);
    font-style: italic;
    margin-bottom: 5px;
    padding: 14px;
    text-align: center;
}

/* category widget links - remove margin from last item */
.widget_categories ul li:last-child a {
    margin-bottom: 0;
}

/* remove border radius from forms */
input[type="text"], input[type="email"], input[type="url"],
input[type="password"], input[type="search"], input[type="number"],
input[type="tel"], input[type="range"], input[type="date"], input[type="month"],
input[type="week"], input[type="time"], input[type="datetime"],
input[type="datetime-local"], input[type="color"], textarea,
#search-drawer .drawer-inner input.search-field {
    border-radius: 0;
}

/* search button icon color */
.search-form .kadence-svg-iconset {
    color: var(--global-palette3);
}

/* remove bold stying from category links */
.entry-taxonomies a {
    font-weight: normal;
}

/* add spacing below featured image on search results */
.search .entry-taxonomies {
    margin-bottom: 10px;
    margin-top: 16px;
}

/* remove underline from footer link */
#colophon .site-footer-row-container .site-footer-row .footer-html a {
    text-decoration: none;
}

/* split recipe index category links into columns */
.entry-content .wp-block-categories-list.wp-block-categories {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

/* recipe index category links styling */
.entry-content .wp-block-categories-list.wp-block-categories li {
    line-height: 2.8;
}

/* recipe index sub-category links styling */
.entry-content .wp-block-categories-list.wp-block-categories li ul {
    font-size: 90%;
    font-style: italic;
}

/* recipe index categories bullet color */
.entry-content .wp-block-categories-list.wp-block-categories li::marker {
    color: var(--global-palette2);
}

/* woocommerce info box background color */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info {
    background-color: var(--global-palette8);
}

/* remove box shadow from entries */
.entry {
    box-shadow: none;
}
