:root {
interpolate-size: allow-keywords;
--icon-angle: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
--bs-gutter-y: 1.5rem;
--border-color: #dee2e6;
}
.mark,
mark {
padding: unset;
color: unset;
background-color: unset;
}
.row {
gap: var(--bs-gutter-x) 0;
margin-block-start: unset;
>* {
margin-block-start: unset;
}
}
figure {
margin: unset;
}
b,
strong {
font-weight: 700;
}
body.no-scroll {
overflow: hidden;
padding-inline-end: 0px;
}
.overlay {
background-color: rgba(0, 0, 0, .5);
position: fixed;
width: 100%;
height: 100%;
z-index: 999;
left: 0;
top: 0;
display: none;
}
summary {
list-style: none;
}
summary::-webkit-details-marker {
display: none;
}
.grecaptcha-badge {
right: -300px !important;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
hr {
margin-block-start: var(--wp--custom--main-size);
margin-block-end: 0;
&:first-child {
margin-block-start: 0;
}
}
a {
outline: 0;
&:hover,
&:focus,
&:active {
outline: 0;
}
}
.btn-close:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn.focus:active,
.btn:active:focus,
.btn:focus {
outline: 0;
box-shadow: none;
}
.form-control:focus {
border-color: none;
box-shadow: none;
}
img {
max-width: 100%;
height: auto;
}
.map {
line-height: 1;
iframe {
width: 100%;
}
}
@media (max-width: 1199px) {
.mobile-scroll::-webkit-scrollbar {
display: none;
}
.mobile-scroll.list-posts.list-post-grid {
width: 100vw;
margin-inline: -1.5rem !important;
padding-inline: 1.5rem;
display: flex;
flex-wrap: nowrap;
gap: var(--wp--custom--main-size);
overflow-x: auto;
scrollbar-width: none;
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
>* {
flex: 1 0 min(90%, 400px);
}
}
} ::placeholder {
opacity: 1;
color: var(--wp--preset--color--primary);
}
label {
display: block;
}
select,
input[type='text'],
input[type='url'],
input[type='date'],
input[type='file'],
input[type='email'],
input[type='tel'],
input[type='number'],
input[type='password'],
input[type='number'],
input[type='file'],
input[type='search'],
textarea {
display: block;
width: 100%;
padding: .75rem 0;
line-height: 1.5;
background-clip: padding-box;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
background-color: transparent;
border: 1px solid transparent;
border-bottom-color: var(--wp--preset--color--primary);
border-radius: 0;
color: var(--wp--preset--color--primary);
&:focus {
outline: none;
box-shadow: none;
}
&[readonly] {
background-color: #e9ecef;
opacity: 1;
}
}
textarea {
height: 120px;
}
select {
-moz-padding-start: 0;
line-height: 1.5;
background-repeat: no-repeat;
background-position: right center;
background-size: 1.25rem auto;
background-image: var(--icon-angle);
}
button,
input[type='button'],
input[type='submit'] {
border: none;
background: transparent;
text-decoration: none;
vertical-align: middle;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.wp-block-read-more,
.wp-block-post-navigation-link a,
.wp-block-post-excerpt__more-link, .navigation.post-navigation .nav-links a,
.btn,
button,
.woocommerce .button,
input[type='button'],
input[type='submit'] {
text-align: center;
padding: var(--wp--custom--button-padding-y) var(--wp--custom--button-padding-x);
border-width: var(--wp--custom--button-border-width);
border-style: var(--wp--custom--button-border-style);
border-color: transparent;
border-radius: var(--wp--custom--button-border-radius);
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
text-decoration: none;
font-size: 1rem;
}
.wp-element-button {
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.navigation.post-navigation .nav-links a,
.wp-block-read-more,
.wp-block-post-navigation-link a,
.wp-block-post-excerpt__more-link,
.btn-custom,
.xoo-wsc-ft-btn,
.xoo-wsc-body a.xoo-wsc-btn,
.woocommerce .button,
input[type='button'],
input[type='submit'] {
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--white);
border-color: var(--wp--preset--color--primary);
&:hover {
color: var(--wp--preset--color--white);
background-color: var(--wp--custom--color-primary-hover);
border-color: var(--wp--custom--color-primary-hover);
}
}
.btn-outline {
border-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--primary);
&:hover {
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--white);
}
}
.btn-alternative {
background-color: var(--wp--preset--color--secondary);
border-color: var(--wp--preset--color--secondary);
color: var(--wp--preset--color--white);
&:hover {
background-color: var(--wp--custom--color-secondary-hover);
border-color: var(--wp--custom--color-secondary-hover);
}
}
.btn-link {
--bs-btn-color: var(--wp--preset--color--primary);
--bs-btn-hover-color: var(--wp--custom--color-primary-hover);
--bs-btn-active-color: var(--wp--custom--color-primary-hover);
--bs-btn-disabled-color: #6c757d;
}
.light-form {
::placeholder {
opacity: 0.8;
color: var(--wp--preset--color--white);
}
a,
label {
color: var(--wp--preset--color--white);
}
select,
input[type='text'],
input[type='url'],
input[type='date'],
input[type='file'],
input[type='email'],
input[type='tel'],
input[type='number'],
input[type='password'],
input[type='number'],
input[type='file'],
input[type='search'],
textarea {
background: none;
color: var(--wp--preset--color--white);
border-color: currentColor;
}
select {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
} .wpcf7-form {
.wpcf7-form-control-wrap {
display: block;
}
.field-cf7 {
margin-block-end: calc(var(--wp--custom--main-size) / 2);
>p {
margin: 0;
}
label {
margin-block-end: 0.188rem;
}
}
.wpcf7-list-item {
margin: 0;
display: block;
}
&.submitting {
.wpcf7-submit {
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/loading-light.svg);
background-repeat: no-repeat;
background-position: center center;
background-size: 1.25rem;
color: transparent;
pointer-events: none;
}
}
.wpcf7-submit {
min-width: 9.375rem;
}
.wpcf7-spinner {
display: none !important;
}
.wpcf7-not-valid {
border-color: #f00;
}
div.wpcf7-response-output {
margin: 1rem 0;
padding: 0.313rem;
font-size: 0.875rem;
text-align: center;
}
&.invalid .wpcf7-response-output {
color: #8a6d3b;
background-color: #fcf8e3;
border: 1px solid #faebcc;
border-radius: var(--wp--custom--border-radius);
}
&.sent .wpcf7-response-output {
color: #3c763d;
background-color: #dff0d8;
border-color: #d6e9c6;
border-radius: var(--wp--custom--border-radius);
}
span.wpcf7-not-valid-tip {
font-size: 0.875rem;
padding-block-start: 0.3125rem;
display: block;
}
div.wpcf7-spam-blocked,
div.wpcf7-mail-sent-ng {
color: #a94442;
background-color: #f2dede;
border-color: #ebccd1;
}
}
.wpcf7-field-group-remove,
.wpcf7-field-group-add {
border: none;
border-radius: var(--bs-accordion-border-radius);
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--white);
font-size: 1.125rem;
padding: 0.5rem 1.875rem;
display: block;
&:hover {
color: var(--wp--preset--color--white);
background-color: #134A8C;
}
}
.wpcf7-field-group-add {
max-width: 200px;
margin: 1rem auto;
}
.options-inline {
.wpcf7-radio,
.wpcf7-checkbox {
display: flex;
flex-wrap: wrap;
gap: 0.5rem 1.5rem;
label {
font-weight: 400;
}
}
}
@media (min-width: 768px) {
.cf7-two-cols {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
grid-gap: 0 calc(var(--wp--custom--main-size) / 2);
}
} .whatsapp-fixed {
--wfb-space: calc(var(--wp--custom--main-size) / 2);
position: fixed;
bottom: var(--wfb-space);
left: var(--wfb-space);
z-index: 999;
a {
width: 3.125rem;
height: 3.125rem;
background-color: #25d366;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
padding: 10px;
background-size: 50%;
background-repeat: no-repeat;
background-position: center;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFFFFF'%3e%3cpath fill-rule='evenodd' d='M13.601 2.326A7.85 7.85 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.9 7.9 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.9 7.9 0 0 0 13.6 2.326zM7.994 14.521a6.6 6.6 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.56 6.56 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592m3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.73.73 0 0 0-.529.247c-.182.198-.691.677-.691 1.654s.71 1.916.81 2.049c.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232'/%3e%3c/svg%3e");
}
&.left {
left: var(--wfb-space);
}
&.right {
left: unset;
right: var(--wfb-space);
}
}
@media (min-width: 1200px) {
.whatsapp-fixed {
--wfb-space: calc(var(--wp--custom--main-size) / 1.5);
bottom: var(--wfb-space);
a {
width: 3.75rem;
height: 3.75rem;
padding: 1rem;
transition: background 0.3s ease-out;
&:hover {
background-color: #11b04c;
}
}
&.left {
left: var(--wfb-space);
}
&.right {
right: var(--wfb-space);
}
}
}
.loader {
width: 3rem;
height: 3rem;
border: 5px solid var(--wp--preset--color--primary);
border-bottom-color: transparent;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: loaderRotation 0.8s linear infinite;
}
@keyframes loaderRotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}  .owl-carousel {
--owl-button-size: 2.25rem;
position: relative;
&:not(.owl-loaded) {
display: flex !important;
opacity: 0;
}
.owl-stage {
display: flex;
flex-wrap: wrap;
}
&.owl-theme {
.owl-nav {
margin-block-start: var(--wp--custom--main-size);
text-align: unset;
display: flex;
justify-content: center;
gap: calc(var(--wp--custom--main-size) * .25);
button {
span {
display: none;
}
&.owl-next {
transform: rotate(180deg);
}
}
[class*="owl-"] {
transition: background-color 0.3s ease-out;
width: var(--owl-button-size);
height: var(--owl-button-size);
overflow: hidden;
background-color: currentColor;
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/arrow-owl.svg);
background-position: 45% 50%;
background-repeat: no-repeat;
background-size: 30%;
margin: 0;
color: currentColor;
border-radius: 5rem;
}
[class*="owl-"] {
margin-block: 0;
}
[class*="owl-"]:hover {
background-color: #7B7B7B;
}
.disabled {
opacity: .25;
}
&.disabled {
display: none;
}
}
.owl-dots {
margin-block-start: var(--wp--custom--main-size);
line-height: 1;
.owl-dot {
span {
width: 1rem;
height: 1rem;
margin: .25rem;
background: none;
border: 1px solid currentColor;
transition: background .3s ease-out;
}
&.active,
&:hover {
span {
background-color: currentColor;
opacity: 1;
}
}
}
}
.owl-nav.disabled+.owl-dots {
margin-block-start: var(--wp--custom--main-size);
}
.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
display: none;
}
}
@media (min-width: 992px) {
--owl-button-size: 3rem;
}
}
.is-style-middle-arrows {
.owl-carousel {
position: relative;
&.owl-theme {
.owl-nav {
margin-block-start: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
left: 0;
width: 100%;
pointer-events: none;
justify-content: space-between;
button {
margin: 0;
pointer-events: auto;
background-color: transparent;
background-position: 45% 50%;
background-repeat: no-repeat;
background-size: 30%;
&:hover {
background-color: transparent;
}
}
button.owl-prev {
margin-inline: var(--wp--custom--main-size);
}
button.owl-next {
margin-inline: var(--wp--custom--main-size);
}
}
}
}
}
.is-style-top-arrows {
position: relative;
z-index: 5;
.owl-carousel {
position: relative;
&.owl-theme {
.owl-nav {
margin-block-start: 0;
position: absolute;
top: 0;
transform: translateY(calc(-100% - 1.25rem));
left: 0;
width: 100%;
justify-content: flex-end;
z-index: 99;
}
}
}
} .navigation {
padding-block-start: calc(var(--wp--custom--main-size) * 2);
.screen-reader-text {
display: none;
}
&.pagination {
.nav-links {
width: 100%;
display: flex;
justify-content: center;
gap: calc(var(--wp--custom--main-size) / 1.5);
font-size: 1.375rem;
line-height: 1;
}
a,
span {
border: none;
transition: opacity 0.3s ease-out;
text-decoration: none;
}
a:hover,
span.current {
opacity: 0.5;
}
}
&.post-navigation {
padding: var(--wp--custom--main-size);
padding-block-start: calc(var(--wp--custom--main-size) * 2);
.nav-links {
max-width: var(--wp--style--global--content-size);
margin: 0 auto;
display: flex;
justify-content: space-between;
.nav-next {
margin-inline-start: auto;
}
a {
min-width: 130px;
}
}
}
}
nav.woocommerce-pagination,
.wp-block-query-pagination {
padding-top: calc(var(--wp--custom--main-size) * 2);
margin-block-start: 0;
line-height: 1;
.page-numbers {
list-style: none;
}
.page-numbers,
.wp-block-query-pagination-numbers {
display: flex;
justify-content: center;
gap: calc(var(--wp--custom--main-size) / 1.5);
font-size: 1.375rem;
a,
span {
border: none;
color: var(--wp--preset--color--primary);
transition: opacity 0.3s ease-out;
text-decoration: none;
}
a:hover,
span.current {
opacity: 0.5;
}
}
.wp-block-query-pagination-previous-arrow,
.wp-block-query-pagination-next-arrow {
margin: 0;
font-size: 1.375rem;
line-height: 1;
}
}
.wp-block-query-pagination>.wp-block-query-pagination-next,
.wp-block-query-pagination>.wp-block-query-pagination-numbers,
.wp-block-query-pagination>.wp-block-query-pagination-previous {
margin: 0;
}
@media (min-width: 1200px) {
nav.woocommerce-pagination,
.wp-block-query-pagination,
.navigation {
padding-block-start: calc(var(--wp--custom--main-size) * 3);
}
} .error404 {
main {
place-content: center;
}
section {
h1 {
line-height: 1;
}
h2 {
line-height: 1;
}
}
} .search-form {
display: flex;
label {
flex: 1 1 auto;
}
input[type='search'] {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
input[type='submit'] {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
color: transparent;
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath fill-rule='evenodd' d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001q.044.06.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1 1 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: center;
background-size: 1.125rem;
padding-inline: 0;
}
}
.wrap-search {
background-color: var(--wp--preset--color--white);
position: fixed;
width: 100%;
z-index: 9999;
left: 0;
top: 0;
padding: 1.5rem 0;
transform: translateY(-100%);
transition: transform 0.35s ease-out;
&.open {
transform: translate(0);
}
@media (min-width: 768px) {
.search-form,
.dgwt-wcas-sf-wrapp {
margin: 0 auto;
max-width: 50rem;
}
}
@media (min-width: 992px) {
& {
padding: 2.25rem 0;
}
}
} .pll-switcher {
list-style: none;
padding: 0;
margin: 0;
text-transform: uppercase;
display: flex; li {
display: flex;
a {
position: relative;
opacity: .5;
text-decoration: none;
transition: opacity .3s ease-out;
&:hover {
opacity: 1;
}
}
&.current-lang {
a {
opacity: 1;
}
}
&:not(:last-child) {
&:after {
content: '|';
margin-inline: .5rem;
}
}
}
} body.search-results,
body.single-post {
main {
--wp--style--global--content-size: 60rem;
}
}
.post {
.wp-block-post-featured-image {
a {
display: block;
}
}
.wp-block-post-terms {
a {
text-decoration: none;
}
}
.wp-block-post-meta {
text-transform: uppercase;
font-size: 90%;
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
>div:not(:last-child):after {
margin-inline-start: 0.75rem;
content: '|';
}
}
}
.wp-block-post-template,
.list-posts {
.post {
--wp--custom--main-size: 1rem;
display: flex;
flex-direction: column;
gap: var(--wp--custom--main-size);
>* {
margin-block-start: 0;
}
a {
text-decoration: none;
}
.wp-block-post-title {
font-size: 1.375rem;
}
.wp-block-post-excerpt {
margin: 0;
flex-grow: 1;
}
.wp-block-read-more {
display: inline-block;
}
}
}
.list-posts {
display: grid;
gap: var(--wp--custom--main-size);
grid-template-columns: repeat(auto-fill, minmax(min(19rem, 100%), 1fr));
}
@media (min-width: 1200px) {
.wp-block-post-template.is-layout-grid,
.list-posts {
gap: calc(var(--wp--custom--main-size) * 1.5);
}
}
.list-posts-search {
article {
padding-bottom: calc(var(--wp--custom--main-size) * 1.5);
&:not(:last-child) {
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
}
}
body.search-no-results {
main {
--wp--style--global--content-size: 31.25rem;
text-align: center;
min-height: 60vh;
}
} .accordion {
--bs-accordion-bg: none;
--bs-accordion-active-bg: none;
--bs-accordion-color: currentColor;
--bs-accordion-active-color: currentColor;
--bs-accordion-border-radius: 0;
--bs-accordion-inner-border-radius: 0;
--bs-accordion-btn-focus-box-shadow: none;
--bs-accordion-border-color: transparent;
--bs-accordion-btn-padding-x: 0;
--bs-accordion-body-padding-x: 0;
--bs-accordion-body-padding-y: var(--wp--custom--main-size);
--bs-accordion-btn-icon: var(--icon-angle);
--bs-accordion-btn-active-icon: var(--icon-angle);
--bs-accordion-btn-color: currentColor;
}
.accordion-header {
border-bottom: 1px solid currentColor;
}
@media (min-width: 1200px) {
.accordion-button {
font-size: 1.25rem;
}
} .text-wrap-balance {
text-wrap: balance;
}
a:where(:not(.wp-element-button)) {
transition: color .3s ease-out;
}
table {
width: 100%;
max-width: 100%;
background-color: transparent;
&:not(:first-child) {
margin-block-start: var(--wp--custom--main-size);
}
}
table:not(.variations) td,
table:not(.variations) th {
padding: .3rem;
}
table:not(.variations) td,
table:not(.variations) th {
border-top: 1px solid #dee2e6;
}
.section {
padding-block: calc(var(--wp--custom--main-size) * 2);
@media (min-width: 992px) {
padding-block: calc(var(--wp--custom--main-size) * 3);
}
@media (min-width: 1200px) {
padding-block: calc(var(--wp--custom--main-size) * 5);
}
} .wp-block-details {
summary {
border-bottom: 1px solid currentColor;
position: relative;
display: flex;
align-items: center;
width: 100%;
padding: 0 0 1rem 0;
line-height: 1.3;
&:after {
flex-shrink: 0;
width: 1.25rem;
height: 1.25rem;
margin-inline-start: auto;
content: "";
background-repeat: no-repeat;
background-image: var(--icon-angle);
transition: transform 0.2s ease-in-out;
}
}
&[open] {
padding-block-end: var(--wp--custom--main-size);
summary {
&:after {
transform: rotate(-180deg);
}
}
}
&.has-background {
border-radius: var(--wp--custom--border-radius);
summary {
padding-inline: var(--wp--custom--main-size);
padding-block-start: 1rem;
}
> :where(:not(summary)) {
margin-inline: var(--wp--custom--main-size);
}
}
}
hr,
.wp-block-separator {
opacity: unset;
border-top: 1px solid currentColor;
border-block-end: 0;
}
.has-global-padding>.wp-block-group.alignfull.has-background.is-layout-constrained {
padding-inline: var(--wp--custom--main-size);
}
.wp-block-social-link {
transition: opacity 0.3s ease-out;
&:hover {
transform: scale(1);
opacity: 0.8;
}
}
.wp-block-accordion-panel[aria-hidden="true"],
.wp-block-accordion-panel[inert] {
display: block;
margin-block-start: var(--wp--custom--main-size);
}
.wp-block-accordion {
--accordin-space: 1rem;
.wp-block-accordion-item {
margin: 0;
transition: height .25s ease, visibility .5s;
.wp-block-accordion-heading {
border-bottom: 1px solid currentColor;
padding-block-end: var(--accordin-space);
.wp-block-accordion-heading__toggle-title {
font-size: 1.25rem;
}
.wp-block-accordion-heading__toggle {
border-radius: 0;
padding: 0;
transition: transform .25s ease
}
.wp-block-accordion-heading__toggle-icon {
color: transparent;
background-image: var(--icon-angle);
background-repeat: no-repeat;
background-position: center;
background-size: 25px auto;
transition: transform .25s ease;
}
&:hover .wp-block-accordion-heading__toggle-title {
text-decoration: none;
}
}
.wp-block-accordion-panel {
box-sizing: unset;
height: 0;
overflow: clip;
visibility: hidden;
transition: height .25s ease, visibility .5s;
}
&.is-open {
>.wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
transform: rotate(180deg);
}
.wp-block-accordion-panel {
height: auto;
visibility: visible;
margin-block-end: calc(var(--accordin-space) * 2);
}
}
}
&.has-white-color {
.wp-block-accordion-heading__toggle-icon {
filter: brightness(0) invert(1);
}
}
}
body {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
&.page-no-top-space {
main {
padding-block-start: 0;
}
}
&.page-no-bottom-space {
main {
padding-block-end: 0;
}
}
}
.main-content {
p,
ul,
ol {
font-size: 1.125rem;
}
}
:root :where(.is-layout-flow)>* {
margin-block-start: calc(var(--wp--custom--main-size) * .75);
} .main-header {
z-index: 998;
position: sticky;
width: 100%;
top: 0;
background-color: var(--wp--preset--color--secondary);
.col-left {
position: relative;
z-index: 10;
a {
display: block;
img {
max-width: 150px;
}
}
}
.inner {
align-items: center;
display: flex;
justify-content: space-between;
.col-left,
.col-right {
width: 200px;
}
}
@media (max-width: 1023px) {
.col-nav {
position: absolute;
left: 0;
width: 100%;
top: 0;
padding: 0;
}
.inner,
.row {
height: 70px;
.col-left,
.col-right {
z-index: 99;
position: relative;
}
}
}
@media (min-width: 1024px) {
padding-block: var(--wp--custom--main-size);
transition: all 0.2s ease-out;
}
@media (min-width: 1200px) {
.col-left {
a {
img {
max-width: 240px;
}
}
}
}
}
@media (min-width: 1024px) {
body {
&.nav-hide {
.main-header {
opacity: 0;
pointer-events: none;
z-index: -1;
}
}
&.nav-scrolled:not(.nav-hide) {
.main-header {
background-color: var(--wp--preset--color--secondary);
}
}
}
} .btn-main-menu {
margin-inline-start: auto;
position: relative;
padding: 0;
width: 1.5rem;
height: 1rem;
border: none;
line-height: 1;
display: flex;
justify-content: center;
align-items: center;
color: currentColor;
border-radius: 0;
span,
&::after,
&::before {
content: '';
position: absolute;
width: 100%;
height: 2px;
left: 0;
background-color: currentColor;
transition: all .15s ease;
}
&::before {
top: 1px;
}
&::after {
bottom: 1px;
}
span {
top: calc(50% - 1px);
}
&.is-active {
&::before {
top: calc(50% - 1px);
transform: rotate(45deg);
}
&::after {
bottom: calc(50% - 1px);
transform: rotate(-45deg);
}
span {
opacity: 0;
}
}
} #main-navigation {
ul {
list-style: none;
padding: 0;
margin: 0;
font-weight: 700;
font-size: 1.125rem;
display: flex;
flex-direction: column;
gap: calc(var(--wp--custom--main-size) * .25);
}
ul.menu {
li {
a {
text-decoration: none;
display: inline-block;
position: relative;
text-decoration: none;
border-radius: .25em;
padding-block: calc(var(--wp--custom--main-size) * .1);
padding-inline: calc(var(--wp--custom--main-size) * .5);
}
}
>li.menu-item-has-children {
position: relative;
&:after {
content: '';
position: absolute;
top: 8px;
right: calc(var(--wp--custom--main-size) * .5);
width: 15px;
height: 15px;
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/arrow-dropdown.svg);
background-repeat: no-repeat;
background-position: 100% 50%;
background-size: contain;
}
&.is-open {
>a {
background-color: var(--wp--preset--color--tertiary);
}
&:after {
rotate: 180deg;
}
}
}
ul.sub-menu {
padding-block: calc(var(--wp--custom--main-size) * .25);
font-weight: 300;
display: none;
li {
margin-block-start: calc(var(--wp--custom--main-size) * .25);
a {
display: inline-block;
}
}
}
}
@media (min-width: 992px) {
ul.menu {
flex-direction: row;
gap: calc(var(--wp--custom--main-size) * .5);
li {
&.item-dark {
a {
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--secondary);
&:hover {
background-color: #7B7B7B;
color: var(--wp--preset--color--secondary);
}
}
}
a {
transition: all .5s ease;
padding-block: calc(var(--wp--custom--main-size) * .2);
position: relative;
z-index: 5;
&:hover {
color: var(--wp--preset--color--primary);
background-color: var(--wp--preset--color--tertiary);
}
}
&.current-menu-item:not(.item-dark) {
>a {
background-color: var(--wp--preset--color--tertiary);
}
}
}
>li.menu-item-has-children {
position: unset;
&:after {
content: '';
display: none;
}
&:hover ul.sub-menu {
opacity: 1;
transform: translateY(0);
pointer-events: all;
}
}
ul.sub-menu {
background-color: var(--wp--preset--color--secondary);
position: absolute;
width: 100vw;
left: 0;
top: 60px;
gap: calc(var(--wp--custom--main-size) * .5);
padding-inline: var(--wp--custom--main-size);
padding-block-start: calc(var(--wp--custom--main-size) * 2);
padding-block-end: calc(var(--wp--custom--main-size) * 2);
display: block;
transition: opacity .25s ease, transform .25s ease;
transform: translateY(15px);
opacity: 0;
pointer-events: none;
li {
margin-block-start: 0;
}
}
}
}
}
@media (max-width: 991px) {
#main-navigation {
position: fixed;
content: '';
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: var(--wp--preset--color--secondary);
padding: var(--wp--custom--main-size);
padding-inline-start: calc(var(--wp--custom--main-size) * .9);
padding-block-start: calc(var(--wp--custom--main-size) * 4);
transition: transform .8s cubic-bezier(.7, 0, .3, 1);
transform: translateY(-105%);
}
}
body {
&.show-menu {
overflow: hidden;
padding-right: 0px;
#main-navigation {
transform: translateY(0);
}
}
} .main-footer {
.top-footer {
padding-block-start: calc(var(--wp--custom--main-size) * 4);
padding-block-end: calc(var(--wp--custom--main-size) * 2);
align-items: center;
a {
text-decoration: none;
}
}
@media (max-width: 480px) {
.top-footer {
gap: calc(var(--wp--custom--main-size) * .75) !important;
p {
width: 100%;
text-align: center;
}
>.wp-block-group {
align-items: center;
}
.legal-text-footer {
margin-block-start: var(--wp--custom--main-size);
font-weight: normal;
}
}
}
@media (min-width: 1200px) {
.top-footer {
a {
display: inline-block;
position: relative;
text-decoration: none;
&:after {
transition: all 0.5s;
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 0;
height: 1px;
background-color: currentColor;
}
&:hover {
&:after {
left: 0;
width: 100%;
}
}
}
&.current-menu-item {
a {
&:after {
width: 100%;
}
}
}
}
}
} .single-event {
article {
.section {
padding-block: var(--wp--custom--main-size);
}
}
.owl-event-banner {
&.owl-theme {
.owl-nav {
margin-block-start: 0;
}
img {
border-radius: var(--wp--custom--border-radius);
}
}
img {
aspect-ratio: 16/7;
object-fit: cover;
}
}
.wp-block-post-terms {
a {
text-decoration: none;
text-transform: uppercase;
position: relative;
&::after {
transition: all 0.5s;
content: '';
position: absolute;
right: 0;
bottom: 0;
width: 0;
height: 1px;
background-color: currentColor;
}
&:hover {
&:after {
left: 0;
width: 100%;
}
}
}
}
.section-intro {
.btn-read-more {
span:last-child {
display: none;
}
}
.collapse.show+.btn-read-more {
span:first-child {
display: none;
}
span:last-child {
display: block;
}
}
}
.event-gallery {
.owl-event-banner {
img {
aspect-ratio: 4/3;
object-fit: cover;
}
}
}
.event-banner-video {
video {
width: 100%;
aspect-ratio: 16/7;
object-fit: cover;
}
}
.subtitle {
font-weight: 300;
font-family: var(--wp--preset--font-family--heading);
line-height: 1.1;
}
.event-texts {
font-size: clamp(1rem, 0.8519rem + 0.7407vw, 1.5rem);
font-weight: 300;
ul {
li {
&:not(:first-child) {
margin-top: .5rem;
}
}
}
}
.event-related {
.list-events {
h3 {
font-size: 1.125rem;
}
}
}
.section-tabs {
.nav {
gap: calc(var(--wp--custom--main-size) * .5);
}
.nav-link {
padding: 0;
color: var(--wp--preset--color--primary);
font-size: var(--wp--preset--font-size--large);
border-radius: 0;
line-height: 1;
font-family: var(--wp--preset--font-family--heading);
&.active {
font-weight: 700;
}
&:not(:last-child) {
padding-inline-end: calc(var(--wp--custom--main-size) * .5);
border-right: 1px solid currentColor;
}
}
}
.section-sidebar {
h2 {
margin-block-end: var(--wp--custom--main-size);
}
.btn+.btn {
margin-block-start: calc(var(--wp--custom--main-size) * .5);
}
}
.info-item {
border-top: 1px solid currentColor;
display: flex;
gap: var(--wp--custom--main-size);
justify-content: space-between;
padding-block: calc(var(--wp--custom--main-size) * .5);
p {
margin: 0;
font-size: 1rem;
}
span {
display: block;
flex: 1;
}
}
.event-reservation-buttons {
margin-block-end: var(--wp--custom--main-size);
}
.event-links {
p {
border-top: 1px solid currentColor;
font-size: 1.125rem;
padding-block: calc(var(--wp--custom--main-size) * .5);
display: flex;
justify-content: space-between;
gap: var(--wp--custom--main-size);
&:not(:first-of-type) {
margin: 0;
}
&:after {
content: '';
display: block;
width: 2ch;
height: 2ch;
mask-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/icon-arrow.svg);
mask-repeat: no-repeat;
mask-position: center;
background-color: currentColor;
transform: translateY(.2em);
}
}
a {
text-decoration: none;
}
}
.event-logos {
margin-block-start: var(--wp--custom--main-size);
display: grid;
gap: var(--wp--custom--main-size);
grid-template-columns: repeat(3, minmax(0, 1fr));
img {
max-width: none;
width: 100%;
object-fit: contain;
}
@media (min-width: 768px) {
grid-template-columns: repeat(auto-fill, minmax(min(8rem, 100%), 1fr));
}
}
.section-info {
h2 {
font-size: 1.5rem;
+hr {
margin-block-start: calc(var(--wp--custom--main-size) * .75);
}
}
}
#offcanvasReserva,
#offcanvasRegisterCustom,
#offcanvasRegister {
--bs-offcanvas-width: 640px;
iframe {
width: 100%;
height: 100%;
}
}
@media (min-width: 992px) {
article {
.wrap-content {
display: block;
&::after {
content: '';
display: block;
clear: both;
}
.section-info,
.section-intro,
.section-title {
width: calc(100% - 355px);
max-width: 690px;
float: left;
}
.section-sidebar {
float: right;
width: 285px;
.collapsing,
.collapse.show,
.collapse {
display: block !important;
height: auto !important;
transition: none !important;
animation: none !important;
}
}
}
}
}
}
@media (max-width: 991px) {
.single-event {
.wrap-content {
width: 100%;
display: flex;
flex-wrap: wrap;
>* {
width: 100%;
order: 2;
}
.section-title {
order: 0;
}
.section-sidebar {
order: 1;
}
}
.info-item:first-child {
border-top: none;
}
h2.has-medium-font-size {
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid var(--wp--preset--color--primary);
padding-block: calc(var(--wp--custom--main-size) * .75);
margin: 0;
&:after {
content: '';
display: block;
width: 15px;
height: 15px;
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/arrow-dropdown.svg);
background-repeat: no-repeat;
background-position: 100% 50%;
background-size: contain;
}
&:not(.collapsed) {
&:after {
transform: rotate(180deg);
}
}
}
.main-footer {
padding-block-end: calc(var(--wp--custom--main-size) * 3);
}
.event-reservation-buttons {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding: var(--wp--custom--main-size);
background-color: var(--wp--preset--color--secondary);
z-index: 10;
margin: 0;
}
}
} .list-events {
article {
font-family: var(--wp--preset--font-family--heading);
figure {
padding-bottom: .25rem;
position: relative;
span {
display: block;
content: '';
position: absolute;
bottom: var(--wp--custom--main-size);
right: var(--wp--custom--main-size);
background-color: var(--wp--preset--color--secondary);
border-radius: var(--wp--custom--border-radius);
padding: .25em .5em;
font-size: 0.875rem;
}
}
>*:not(:first-child) {
margin-block-start: calc(var(--wp--custom--main-size) * .5);
}
}
.wp-block-post-terms {
text-transform: uppercase;
font-size: 12px;
letter-spacing: .02em;
}
.wp-block-post-excerpt {
font-size: var(--wp--preset--font-size--medium);
line-height: 1.2;
font-weight: 300;
}
a {
text-decoration: none;
}
.event-date {
font-size: 0.75rem;
span:nth-child(2) {
font-size: 1.125rem;
display: block;
font-weight: 700;
}
}
.event-hour-location {
margin-block-start: var(--wp--custom--main-size);
display: flex;
flex-wrap: wrap;
gap: var(--wp--custom--main-size);
p {
margin: 0;
font-size: 0.8125rem;
span {
display: block;
text-transform: uppercase;
}
strong {
display: block;
font-size: 1.125rem;
}
}
}
}
.list-events .owl-events article {
.wp-block-post-excerpt {
margin-block-start: 0 !important;
}
}
.list-events-grid:not(.list-events-rows) {
display: grid;
gap: calc(var(--wp--custom--main-size) * 2) var(--wp--custom--main-size);
grid-template-columns: repeat(auto-fill, minmax(min(28rem, 100%), 1fr));
.info {
margin-block-start: var(--wp--custom--main-size);
}
}
.list-events-grid.list-events-rows {
article:not(:first-child) {
margin-block-start: var(--wp--custom--main-size);
}
}
.agenda-month {
display: grid;
gap: var(--wp--custom--main-size);
grid-template-columns: minmax(0, 1fr);
.ajax-load-more-wrap {
article {
display: flex;
flex-direction: column;
gap: calc(var(--wp--custom--main-size) * .5);
padding-bottom: 0;
position: relative;
}
.wp-block-post-title {
a {
display: block;
&:hover {
color: var(--wp--preset--color--primary);
}
&:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
}
.info {
margin-block-start: 0;
}
.agenda-day-title {
font-size: var(--wp--preset--font-size--large);
}
}
.agenda-month-title {
span {
text-transform: capitalize;
}
}
@media (min-width: 768px) {
.ajax-load-more-wrap {
article {
display: grid;
gap: var(--wp--custom--main-size);
grid-template-columns: repeat(3, minmax(0, 1fr));
background-color: var(--wp--preset--color--tertiary);
padding: calc(var(--wp--custom--main-size) * .5);
border-radius: var(--wp--custom--border-radius);
.info {
align-content: center;
grid-column: span 2;
}
}
}
}
@media (max-width: 991px) {
.agenda-month-title {
background-color: var(--wp--preset--color--secondary);
padding-bottom: calc(var(--wp--custom--main-size) * .5);
position: sticky;
top: 70px;
display: block;
z-index: 10;
span {
text-transform: capitalize;
}
}
}
@media (min-width: 992px) {
grid-template-columns: repeat(3, minmax(0, 1fr));
.ajax-load-more-wrap {
grid-column: span 2;
&.alm-loading {
grid-column: span 3;
}
}
&:nth-child(2) {
.ajax-load-more-wrap {
&.alm-loading {
opacity: 0;
}
}
}
.agenda-month-title {
span {
position: sticky;
top: 100px;
display: block;
}
}
}
@media (min-width: 1200px) {
.ajax-load-more-wrap {
article {
transition: transform .2s ease;
&:hover {
transform: translateY(-3px);
}
}
}
}
}
.tax-intro {
display: grid;
gap: var(--wp--custom--main-size);
grid-template-columns: minmax(0, 1fr);
@media (min-width: 768px) {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 768px) {
.has-large-font-size p {
line-height: 1.2;
}
} .alm-filters {
padding-block-end: var(--wp--custom--main-size);
display: grid;
gap: calc(var(--wp--custom--main-size) * .5);
grid-template-columns: minmax(0, 1fr);
.dropdown-toggle {
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: block;
}
}
.item {
border: 1px solid currentColor;
border-radius: var(--wp--custom--border-radius);
&.filters-button {
display: flex;
overflow: hidden;
min-height: 55px;
button {
justify-content: center;
border-radius: 0;
padding: 0;
&.current {
background-color: var(--wp--preset--color--primary);
color: var(--wp--preset--color--secondary);
}
}
}
label {
text-transform: uppercase;
font-size: 0.75rem;
padding-inline: 16px;
padding-block-start: 10px;
}
.btn {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
border: 0;
font-weight: 700;
font-family: var(--wp--preset--font-family--heading);
padding-inline: 16px;
padding-block-start: 0;
padding-block-end: 8px;
font-size: 1.25rem;
&:after {
border: none;
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/arrow-dropdown.svg);
width: 10px;
height: 10px;
background-repeat: no-repeat;
background-position: center;
}
}
}
@media (max-width: 991px) {
.item {
opacity: 0;
&.filters-button {
button {
font-size: 1rem;
}
}
}
.dropdown-menu {
width: 100% !important;
}
}
@media (min-width: 992px) {
grid-template-columns: repeat(12, minmax(0, 1fr));
padding-block: var(--wp--custom--main-size);
.item {
grid-column: span 2;
&:nth-child(1) {
grid-column: span 4;
}
&:nth-child(2) {
grid-column: 7 / span 2;
}
}
.dropdown-menu {
margin-top: 14px !important;
}
}
}
.dropdown-menu {
--bs-dropdown-bg: var(--wp--preset--color--secondary);
--bs-dropdown-link-hover-bg: rgba(0, 0, 0, .05);
--bs-dropdown-link-active-bg: rgba(0, 0, 0, .05);
--bs-dropdown-link-active-color: var(--wp--preset--color--primary);
border: 1px solid currentColor;
width: fit-content !important;
border-radius: var(--wp--custom--border-radius);
button {
font-weight: 700;
font-family: var(--wp--preset--font-family--heading);
font-size: 1.25rem;
}
}
.wrap-alm-filters {
@media (max-width: 991px) {
background-color: var(--wp--preset--color--secondary);
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding-inline: var(--wp--custom--main-size);
transform: translateY(calc(100% - 65px));
margin: 0;
transition: transform .4s cubic-bezier(.7, 0, .3, 1);
z-index: 99;
}
}
.btn-open-filters {
font-weight: 700;
text-align: start;
font-size: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 0;
border: 0;
line-height: 1;
width: 100%;
padding-inline: 0;
&:after {
content: '';
display: block;
width: 15px;
height: 15px;
background-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/arrow-dropdown.svg);
background-repeat: no-repeat;
background-position: 100% 50%;
background-size: contain;
transform: rotate(180deg);
}
@media (min-width: 992px) {
display: none !important;
visibility: hidden;
}
}
@media (max-width: 991px) {
body.archive {
.main-footer {
padding-block-end: calc(var(--wp--custom--main-size) * 3);
}
}
body.show-filters {
.wrap-alm-filters {
transform: translateY(0);
.item {
opacity: 1;
}
}
.btn-open-filters {
&:after {
transform: rotate(0);
}
}
}
} .header-page-agenda {
@media (min-width: 1200px) {
h1 {
max-width: 80%;
}
}
} .item-recomendation {
height: 100%;
display: flex;
flex-direction: column;
flex-wrap: wrap;
border-radius: var(--wp--custom--border-radius);
overflow: hidden;
aspect-ratio: 1/1.5;
padding-inline-end: calc(var(--wp--custom--main-size) * 2) !important;
>* {
width: 100%;
}
ul {
list-style: none;
padding: 0;
margin-block-start: auto !important;
padding-block-start: calc(var(--wp--custom--main-size) * 3) !important;
li {
border-top: 1px solid currentColor;
a {
text-decoration: none;
display: flex;
justify-content: space-between;
gap: var(--wp--custom--main-size);
padding-block: calc(var(--wp--custom--main-size) * .5);
&:after {
content: '';
display: block;
width: 2ch;
height: 2ch;
transform: translateY(.2em);
mask-image: url(//www.codolvillamaria.cat/wp-content/themes/villamaria/images/icon-arrow.svg);
mask-repeat: no-repeat;
mask-position: center;
background-color: currentColor;
}
}
}
}
@media (min-width: 992px) {
aspect-ratio: 1/1;
padding-inline-end: calc(var(--wp--custom--main-size) * 4) !important;
}
}
.owl-home-banner {
.wp-block-cover {
min-height: unset;
aspect-ratio: 1/1;
padding: var(--wp--custom--main-size) !important;
border-radius: var(--wp--custom--border-radius);
overflow: hidden;
}
@media (max-width: 767px) {
.owl-nav {
display: none !important;
}
}
@media (min-width: 768px) {
.wp-block-cover {
aspect-ratio: unset;
padding: calc(var(--wp--custom--main-size) * 2) !important;
height: calc(100svh - calc(var(--wp--custom--main-size) * 6));
max-height: 600px;
}
}
}
.wp-block-post-featured-image {
img {
max-width: none;
width: 100%;
aspect-ratio: 4/2.9;
object-fit: cover;
border-radius: var(--wp--custom--border-radius);
}
}
.owl-events {
.wp-block-post-featured-image {
img {
aspect-ratio: 1/.84;
}
}
}
.links-activitats-per-publics {
.wp-block-group {
position: relative;
border-radius: var(--wp--custom--border-radius);
}
a {
text-decoration: none;
&:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}
@media (max-width: 767px) {
.wp-block-group {
min-height: 200px !important;
}
}
}
.wrap-subscribe {
@media (max-width: 767px) {
margin-inline: calc(var(--wp--custom--main-size) * -1) !important;
}
@media (min-width: 992px) {
padding-block: calc(var(--wp--custom--main-size) * 3) !important;
padding-inline: calc(var(--wp--custom--main-size) * 2) !important;
}
}
.mc4wp-form {
margin: 0;
}
.mc4wp-form-fields {
margin: 0;
display: grid;
gap: calc(var(--wp--custom--main-size) * .5);
grid-template-columns: minmax(0, 1fr);
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: var(--wp--custom--main-size);
p {
margin: 0;
}
label {
display: none;
}
input[type="submit"] {
font-weight: 700;
}
.two-cols {
grid-column: span 2;
input {
display: block;
width: 100%;
}
}
} .links-activitats-per-publics .wp-block-group {
transition: transform .2s ease;
&:hover {
transform: translateY(-3px);
}
} .breadcrumbs {
font-size: 12px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px 6px;
width: 100%;
a {
text-decoration: none;
}
>span {
display: inline-block;
&:not(:first-child) {
text-transform: uppercase;
}
&:first-child {
background-color: var(--wp--preset--color--tertiary);
font-weight: 800;
padding: .4em .75em;
border-radius: var(--wp--custom--border-radius);
font-size: 16px;
}
&.separator:last-child {
display: none;
}
}
}
.single-event {
.breadcrumbs {
.separator:has(+ span:last-child) {
display: none !important;
}
>span:last-child {
display: none !important;
}
}
}
.single-event {
.breadcrumbs {
margin-block-end: calc(var(--wp--custom--main-size) * 2);
}
}
.is-sticky {
position: sticky;
top: 100px;
}