/*!
Theme Name: AFA Josep Pla
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/* Transitions */
@view-transition
{
    navigation: auto;
}

/*  Kadence css “fixings” */
body
{
    text-wrap: pretty;
}

/* header mobile */
.drawer-content .site-header-item
{
    overflow-y: auto;
    max-width: 90vh;
}

.mobile-navigation
{
    max-height: 100%;
}

.kt-btn-width-type-auto
{
    width: auto;
}

.kb-adv-form-message.kb-adv-form-warning
{
    padding: 0.1em 1em;
}

.new-row-diferent-height .kt-inner-column-height-full:not(.kt-row-layout-row)
{
    grid-auto-rows: unset;
}

@media (max-width: 1024px)
{
    #block-8 figure
    {
        margin: 0 auto;
    }

    .kt-inner-column-height-full.kt-tab-layout-equal,
    .kt-inner-column-height-full:not(.kt-tab-layout-inherit):not(.kt-tab-layout-row)
    {
        grid-auto-rows: unset;
    }
}

b,
strong,
a
{
    font-weight: 600;
}
.single-content ul li, .single-content ol li {
    margin-bottom: 0.5em;
}

.single-content p {
    margin-bottom: 1em;
}

.special-links-style a {
    font-weight: 600;
    text-decoration: none;
}


.header-navigation[class*=header-navigation-style-underline] .header-menu-container>ul>li>a:after {
    background-color: var(--global-palette1);
}

.header-navigation ul ul.sub-menu, .header-navigation ul ul.submenu {
    padding: 10px;
}

.numero-servei
{
    background-color: var(--global-palette2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nom-servei
{
    width: calc(100% - 100px);
}

.square-section .kt-inside-inner-col {
    aspect-ratio: 1 / 1;

}

/* Dot separator for inline items */
.dot-separator .wp-block-kadence-navigation .menu-item:not(:last-child),
.dot-separator .kt-inside-inner-col>*:not(:last-child)
{
    position: relative;
}

.dot-separator .wp-block-kadence-navigation .menu-item:not(:last-child)::after,
.dot-separator .kt-inside-inner-col>*:not(:last-child)::after
{
    content: "•";
    color: inherit;
    position: absolute;
    right: -1.1em;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 768px)
{

    .dot-separator .wp-block-kadence-navigation .menu-item:not(:last-child)::after,
    .dot-separator .kt-inside-inner-col>*:not(:last-child)::after
    {
        display: none;
    }
}


.icon-with-background .kb-adv-heading-icon
{
    background: var(--global-palette2);
    padding: 8px;
    border-radius: 100%;
    font-size: 30px;
    margin-right: 16px;
}

/* blog */
.blog .content-area,
.single-post .content-area
{
    margin-top: 0rem;
}

.blog-card-home .wp-block-post-excerpt__excerpt {
    margin-bottom: 0;
}


.wp-block-post-excerpt__more-link
{
    font-size: 14px;
    margin-top: 10px;
    text-decoration: none;
}

.wp-block-post-excerpt__more-link:hover
{
    text-decoration: none;
}

/* footer */
.wp-block-kadence-navigation .menu-container>.menu>.menu-item>.kb-link-wrap>.kb-nav-link-content:hover {
    text-decoration: none !important;
}