/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: bcat 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
-------------------------------------------------------------- */

.pager_wrapper.pager_lm {
    padding: 20px 0;
    text-align: center;
}
.site #archive-container.viner  .post-thumbnail .post-thumbnail-inner,
.loop-entry.viner.type-viner .post-thumbnail .post-thumbnail-inner
 {
    padding: 10px 0;
}

 .site .viner .post-thumbnail img, .site .viner  .post-thumbnail img{
    -o-object-fit: contain;
    object-fit: contain;
	 padding: 20px
}
.single .content-wrap.viner {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;

}

.single .site .viner .article-post-thumbnail {
    height: auto;
    padding-bottom: unset!important;
}
.single .site .viner .article-post-thumbnail .post-thumbnail-inner {
    position: relative;}
.single .site .viner .article-post-thumbnail img {
    height: 800px;	
}	
.viner .entry.single-entry, .single .site .viner .article-post-thumbnail {width: 50%;}
.viner .entry-content.single-content, .loop-entry.viner.type-viner,
.loop-entry.viner .entry-content-wrap,
.loop-entry.viner .entry-summary{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
	height: 100%;
}
.wines-widget-area {
padding: 60px 0 0 0;
}

.loop-entry.viner .entry-summary  .tag-line, 
.loop-entry.viner .entry-header{    
     flex-grow: 1;
}

.loop-entry.viner .entry-content-wrap{height: 100%;}
.meta__title {
   font-weight: bold;
    padding: 0 10px 0 0;}
.site a.post-thumbnail:hover  img{
transform: scale(1.1);
}
.site a.post-thumbnail  img{
transition:  transform 1s; }
.entry.loop-entry {
transition:  box-shadow 1s;
}
.entry.loop-entry:hover{
    box-shadow: 0px 15px 15px 4px rgb(0 0 0 / 12%);
}
.code-price {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
	padding: 10px 0;
}
.wine-meta.wine-product-code .meta__description, .wine-meta.wine-price .meta__description {
    font-weight: bold;
}
.more-link-wrap {
    text-align: center;
}
h2.entry-title {line-height: 1;}
.wp-block-button__link {margin: 30px 0 0 0;}
.site .entry-hero-container-inner {
    background-image: url(/wpsysfiles/wp-content/uploads/2023/04/49a5128ae8908ed7c6bb85dedc803c59.jpg);
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    background-repeat: no-repeat;
}
#cookie-notice .cn-button.bootstrap {
    background: #b59f6b;}
#comments  {width: 100%;}
 .fact-box {display: table-row;}
.wine-meta:not(.wine-buy-link) {display: table-row;}
.fact-box  .meta__title, .fact-box  .meta__description {display: table-cell; border: solid 1px #eee;padding: 3px; word-break: keep-all;}
a.fullwidth {display:block;}
.fullwidth.wp-block-button__link{ border-radius: unset;}
.more-link-wrap a.fullwidth, .type-viner p.more-link-wrap, .type-viner .entry-summary  {margin:0;}
.single-content  > .wine-meta:not(:first-child) {padding: 20px 0 0;}
ul.cat-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 20px 0;
}
li.cat-item {padding:0 10px;}
ul.cat-list li:not(:last-child) {border-right: 1px solid #DEDEDE;}
ul.cat-list li.cat-item.current-cat a{
    color: var(--global-palette3);
    position: relative;
}

ul.cat-list li.cat-item.current-cat a:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--global-palette1);
}

ul.cat-list li.cat-item  a {font-weight:700;color: var(--global-palette9);}
ul.cat-list li.cat-item  a:hover{color: var(--global-palette8);}

@media (max-width: 767px) {
.single .site .viner .article-post-thumbnail img {
    max-height: 600px;
     height: auto;}

    .main_category_panel .wp-block-kadence-column:not(:last-child),
    .cat-list li:not(:last-child) {
        border-bottom: 1px solid #DEDEDE;
    }

    .categiry-names .cat-list {
        display: block;
    }

    .categiry-names .cat-list li {
        padding:10px 0;
    }

    .main_category_panel > div {
        margin: 20px;
    }

    .categiry-names ul.cat-list li.cat-item.current-cat a:after {
        display:none;
    }

    .categiry-names ul.cat-list li.cat-item.current-cat a {
        color:var(--global-palette1);
    }
}
@media (max-width: 1024px) {
.mobile-hide {display:none!important;}

.content-area {
    margin-top: 5rem;
}
}

@media (max-width: 1200px) {
.single-vine_fact .fact-box {
        display: block;
    }

.single-vine_fact .fact-box .wine-meta {
    display: flex;
    }

.single-vine_fact .fact-box .wine-meta {
    width:100%;
}
}

.headding_line:after {
    content: '';
    display: block;
    width: 100px;
    height: 5px;
    background: var(--global-palette1);
    opacity: .4;
    margin-top: 10px;
}

.main_category_panel a {
    text-decoration: none;
}

@media (min-width: 768px) {
.main_category_panel .wp-block-kadence-column:not(:last-child) {
    border-right: 1px solid #DEDEDE;
}

.main_category_panel .wp-block-kadence-column:not(:last-child) a:hover {
    color: var(--global-palette1);
}
}

.grid-item .entry.loop-entry {
    box-shadow: none;
    border-radius: 5px;
    border: 1px solid #EFEFEF;
}

.grid-item .entry-header .entry-title {
    font-size: 24px;
}

.grid-item .meta__title {
    font-weight: normal;
}

.grid-item .post-thumbnail.kadence-thumbnail-ratio-2-3 img.wp-post-image {
    object-fit: contain !important;    /* ← this is the key change */
    width: 100%;
    height: 100%;
    object-position: center;           /* optional: can use top, bottom, etc. */
}

.contact_address .address_row {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.address_row .icon {
    width: 25px;
}

.contact_form input:not([type="submit"]),
.contact_form textarea {
    background-color: #fafafa !important;
    border-color: #DEDEDE !important;
}

.contact_form button {
    width: 100%;
}

.organization_block .wp-block-media-text__content strong {
    color: var(--global-palette1);
}

.organization_text {
    border-top: 1px solid var(--global-palette6);
    border-bottom: 1px solid var(--global-palette6);
    padding: 10px 0;
}

.organization_block .wp-block-media-text__content>p {
    margin-bottom: 10px;
}

#kadence-breadcrumbs {
    color: var(--global-palette9);
}

.page-template-default.has-sidebar #primary:before,
.page-template-default.content-width-normal #primary:before,
.single-viner #primary:before,
body[class*="page-template-viner"] #primary:before,
body[class*="tax-wine"] #primary:before {
    content: '';
    display: block;
    background: url(/wpsysfiles/wp-content/uploads/2023/04/Group7.png) left top no-repeat;
    height: 280px;
    width: 100%;
    position: absolute;
}

.page-template-default.has-sidebar #primary,
.page-template-default.content-width-normal #primary,
.single-viner #primary,
body[class*="page-template-viner"] #primary,
body[class*="tax-wine"] #primary
 {
    margin: 0;
    padding: 0;
}

.page-template-default.has-sidebar #primary .content-container,
.page-template-default.content-width-normal #primary .content-container,
.single-viner #primary .content-container,
body[class*="page-template-viner"] #primary .content-container,
body[class*="tax-wine"] #primary .content-container {
    padding: 5rem 0;
}

.page-template-default.has-sidebar #primary .entry,
.page-template-default.has-sidebar #secondary .entry,
.page-template-default.content-width-normal #primary .entry {
    border: 1px solid var(--global-palette6);
}

.viner_producer {
    font-size: 24px;
    font-weight: 600;
}

.product_land li {
    display: flex;
    margin: 0;
    padding-left: 0;
    align-items: center;
}

.product_land {
    margin: 0;
    display: flex;
    align-items: center;
    padding: 0 !important;
}
.product_land li:not(:first-child):before {
    content: '|';
    padding: 0 5px;
}

.product_land a {
    color: var(--global-palette3);
    text-decoration: none;
}

.single-viner .product_land_wrapper .product_land {
    margin: 10px 0;
}

.cat__list-class:first-child:before {
    content: '';
    display: block;
    background-size: cover !important;
}

.cat_parent.cat_grekland:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-54-1.png) left center no-repeat;
}

.cat_parent.cat_frankrike:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-5.png) left center no-repeat;
}

.cat_parent.cat_spanien:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-52.png) left center no-repeat;
}

.cat_parent.cat_italien:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-58.png) left center no-repeat;
}

.cat_parent.cat_sydafrika:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-514.png) left center no-repeat;
}

.cat_parent.cat_portugal:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-511.png) left center no-repeat;
}

.cat_parent.cat_ungern:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-58.png) left center no-repeat;
}

.cat_parent.cat_usa:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-51-1.png) left center no-repeat;
}

.cat_parent.cat_australien:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-55-1.png) left center no-repeat;
}

.cat_parent.cat_nya-zealand:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-59.png) left center no-repeat;
}

.cat_parent.cat_chile:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-513.png) left center no-repeat;
}

.cat_parent.cat_argentina:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-52-1.png) left center no-repeat;
}

.cat_parent.cat_bulgarien:before {
    width: 30px;
    margin-right: 5px;
    height: 30px;
    background: url(/wpsysfiles/wp-content/themes/kadence-child/images/icon/ellipse-510.png) left center no-repeat;
}

.single-vine_desc .wine-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.single-vine_fact .fact-box,
.single-vine_desc .wine-meta {
    border-bottom: 1px solid #DEDEDE;
    padding-bottom: 10px;
}

.single-vine_desc .wine-meta .meta__title, .fact_title {
    font-weight: 600;
    color: var(--global-palette-btn-bg);
    padding: 10px 0;
    font-size:20px;
}

.more-link-wrap a, .wine-buy-link a {
    border-radius: 5px !important;
}

.fact-box {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.fact-box .wine-meta {
    display: inline-flex;
    width: 50%;
    padding: 0;
}

.fact-box .meta__title,
.fact-box .meta__description {
    word-break: keep-all;
    display: block;
    padding: 5px 0;
    border:none;
}

.fact-box .meta__title {
    width:40%;
}

.fact-box .meta__description {
    width: 60%;
}

.fact-box .wine-product-code .meta__description,
.fact-box .wine-price .meta__description {
    font-weight: normal;
}

.wine-meta.wine-price .meta__title,
.wine-product-code .meta__title {
    font-weight: normal;
}

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

.entry.loop-entry.viner {
    box-shadow: none;
    border-radius: 5px;
    border: 1px solid #EFEFEF;
}

.button.button_js.pager_load_more {
    color: var(--global-palette-btn-bg-hover);
    background: transparent;
    border: 1px solid var(--global-palette-btn-bg-hover);
    font-size: 18px;
}

.button.button_js.pager_load_more:hover {
    color: var(--global-palette-btn-hover);
    background: var(--global-palette-btn-bg-hover);
}

.entry.loop-entry.viner .entry-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.1;
    color: var(--global-palette3);
}

.entry-summary .product_land_wrapper {
    margin-bottom: 10px;
}

.site .page-title h1 {
    order:1;
}

#kadence-breadcrumbs {
    order:2;
}

.categiry-names {
    order: 3;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-bottom: -30px;
    margin-top: 50px;
    max-width: 100vw;
    width: 100vw;
    padding-left: 0;
    padding-right: 0;
    clear: both;
    z-index: 1;
}

.cat_wrapper {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.cat-list {
    padding-top: 10px;
    padding-bottom: 15px;
    padding-left: 10px;
    padding-right: 10px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 0px 4px 8px 0px rgb(0 0 0 / 20%);
    background: var(--global-palette9);
}

.cat_wrapper .cat-list .cat-item a {
    color: var(--global-palette2);
    text-decoration: none;
    font-size: 24px;
    line-height: 30px;
    text-transform: capitalize;
    font-weight: 200;
}

.cat_wrapper .cat-list .cat-item a:hover {
    color: var(--global-palette1);
}

.cat-list li {
    padding: 0 5%;
}

body[class*="tax-wine"] .hero-container {
    min-height: 220px;
}

body[class*="tax-wine"] .entry-hero {
    min-height: 300px;
}

.organization_class .site .entry-hero-container-inner {
    background-image: url(/wpsysfiles/wp-content/uploads/2023/04/Rectangle-12.png);
    background-position: center bottom;
}

.organization_class .page-hero-section .hero-section-overlay {
    background: rgb(7 7 7 / 17%);
}

.single-vine_fact .wine-product-code .meta__title,
.single-vine_fact .wine-price .meta__title {
    font-weight: bold;
}

.dropdown-nav-special-toggle {
    display: none !important;
}

.wp-site-blocks .viner-archive-title h1 {
  color: var(--viner-global-palette9);
  font-weight: 200 !important;
}
.mc4wp-form-fields input[type="email"],
.mc4wp-form-fields input#email,
.mc4wp-form input[type="email"] {
  padding: 12px 30px 12px 30px !important;
	border-radius: 5px;
    margin-right: 10px;
}
@media only screen and (max-width: 767px) {
  .mc4wp-form-fields input[type="email"],
  .mc4wp-form-fields input#email,
  .mc4wp-form input[type="email"] {
    margin-bottom: 15px !important;
    margin-right: 0 !important;   /* ← optional: removes side margin on mobile so it stretches full-width */
  }
}
/*  
/*moving logo/*
 /* Make the grid container relative */
/* .kb-posts-id-6_4f21b8-3a {
    position: relative;
}
@keyframes rotation {
    to { rotate: 360deg; }
} */

/* Desktop: Logo floating between 2nd and 3rd card */
/* @media (min-width: 1024px) {
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(2) {
        position: relative;
    }
    
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(2)::after {
        content: '';
        position: absolute;
        right: -10px; 
        top: -75px;
        transform: translateX(50%);
        width: 150px;
        height: 150px;
        background-image: url('http://www.peoplewine.se/wpsysfiles/wp-content/uploads/2026/02/MOVING-CIRCLE-LOGO-PW.svg');
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 10;
        pointer-events: none; 
		animation: rotate-badge-mobile 4s linear infinite;
    }
} */

/* Tablet: Logo between 2nd and 3rd (2 columns) */
/* @media (min-width: 768px) and (max-width: 1023px) {
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(2) {
        position: relative;
    }
    
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(2)::after {
        content: '';
        position: absolute;
        right: 300px;
        
        transform: translateY(-50%);
        width: 100px;
        height: 100px;
        background-image: url('http://www.peoplewine.se/wpsysfiles/wp-content/uploads/2026/02/MOVING-CIRCLE-LOGO-PW.svg');
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 10;
        pointer-events: none;
    }
} */

/* Mobile: Logo overlaid on first card (top right corner) */
/* @media (max-width: 767px) {
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(1) {
        position: relative;
    }
    
    .kb-posts-id-6_4f21b8-3a .kb-post-list-item:nth-child(1)::before {
        content: '';
        position: absolute;
        top: 15px;
        right: 15px;
        width: 90px;
        height: 90px;
        background-image: url('http://www.peoplewine.se/wpsysfiles/wp-content/uploads/2026/02/MOVING-CIRCLE-LOGO-PW.svg');
        background-size: contain;
        background-repeat: no-repeat;
        z-index: 10;
        pointer-events: none;
    }
} */