@import url('https://fonts.googleapis.com/css2?family=KoHo:wght@300;400;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============================================================
   REDESIGN 2026 — Scoped under #trs26
   All styles are self-contained to avoid legacy conflicts.
   ============================================================ */

.grecaptcha-badge{
    visibility: hidden !important;
}

/* ============================================================
   FLOATING EVENT PILL — bottom-right global widget
   ============================================================ */
.tcs-event-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 26px 24px 22px;
    background: #9a2c32;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
    font-family: 'DM Sans', 'Lato', Arial, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: tcs-pill-in 0.45s ease both;
}

.tcs-event-pill[hidden] {
    display: none !important;
}

@keyframes tcs-pill-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tcs-event-pill__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease;
}
.tcs-event-pill__close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.tcs-event-pill__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tcs-event-pill__date {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 10px;
    letter-spacing: 0.01em;
}

.tcs-event-pill__cta {
    display: inline-block;
    padding: 9px 22px;
    background: #fff;
    color: #9a2c32;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tcs-event-pill__cta:hover {
    background: #1d1f22;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .tcs-event-pill {
        bottom: 16px;
        right: 16px;
        left: 16px;
        width: auto;
        padding: 20px 22px 18px;
    }
    .tcs-event-pill__title {
        font-size: 17px;
    }
    .tcs-event-pill__date {
        font-size: 15px;
    }
}

/* ---- Reset & base ---- */
#trs26,
#trs26 *,
#trs26 *::before,
#trs26 *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    float: none;
}

#trs26 {
    width: 100%;
    background: #EFEFEF;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #1d1f22;
    border: none;
}

#trs26 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

#trs26 ul {
    list-style: none;
}

#trs26 img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
}

#trs26 h3 {
    margin: 0;
    padding: 0;
}

#trs26 p {
    margin: 0;
    padding: 0;
}

/* ---- Shared container ---- */
#trs26 .ft-wrap {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

/* ============================================================
   TOP BAR — logo + nav + social
   ============================================================ */
#trs26 .ft-top {
    padding: 16px 0;
}

/* Logo */
#trs26 .ft-logo {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

#trs26 .ft-logo img {
    width: 160px;
    height: auto;
}

/* Nav */
#trs26 .ft-nav {
    flex: 1;
    padding: 0 40px;
}

#trs26 .ft-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

#trs26 .ft-nav-list li {
    display: block;
    border: none;
    padding: 0;
    float: none;
    width: auto;
}

#trs26 .ft-nav-list li a {
    display: block;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d1f22;
    background: none;
    padding: 0;
}

#trs26 .ft-nav-list li a:hover {
    color: #049ba9;
}

/* Social icons */
#trs26 .ft-social {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

#trs26 .ft-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

#trs26 .ft-social a img {
    /* width: 28px;
    height: 28px;
    border-radius: 50%; */
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

#trs26 .ft-social a:hover img {
    opacity: 1;
}

/* ============================================================
   MIDDLE — offices + newsletter
   ============================================================ */
#trs26 .ft-mid {
    padding: 36px 0 32px;
}

#trs26 .ft-mid .ft-wrap {
    align-items: flex-start;
    gap: 32px;
}

/* Offices block */
#trs26 .ft-offices {
    display: flex;
    gap: 40px;
    flex: 0 0 calc(50% - 16px);
    min-width: 0;
}

#trs26 .ft-office {
    flex: 1;
    min-width: 0;
}

#trs26 .ft-office strong,
#trs26 .ft-office b {
    display: block;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1d1f22;
    margin-bottom: 6px;
}

#trs26 .ft-office p {
    font-size: 13px;
    color: #464a4f;
    line-height: 20px;
    margin: 0 0 2px;
}

#trs26 .ft-office a {
    color: #049ba9;
}

#trs26 .ft-office a:hover {
    color: #037d89;
}

/* Newsletter block */
#trs26 .ft-newsletter {
    flex: 0 0 calc(50% - 16px);
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
}

#trs26 .ft-newsletter > div {
    flex: 0 0 calc(50% - 16px);
}

#trs26 .ft-nl-info h3 {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1d1f22;
    margin-bottom: 4px;
}

#trs26 .ft-nl-info p {
    font-size: 13px;
    color: #464a4f;
    line-height: 18px;
}

/* Newsletter form */
#trs26 .ft-nl-form form {
    display: block;
}

#trs26 .ft-nl-input {
    display: flex;
    align-items: center;
    background: #D0D0D0;
    border-radius: 30px;
    overflow: hidden;
    height: 42px;
}

#trs26 .ft-nl-input input[type="email"] {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 13px;
    color: #1d1f22;
    outline: none;
    height: 100%;
    width: auto;
    margin: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

#trs26 .ft-nl-input input[type="submit"] {
    flex-shrink: 0;
    border: none;
    background: #049ba9;
    color: #fff;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 24px;
    height: 42px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    position: static;
    line-height: 42px;
    letter-spacing: 0.02em;
}

#trs26 .ft-nl-input input[type="submit"]:hover {
    background: #037d89;
}

/* Newsletter checkbox */
#trs26 .ft-nl-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    position: relative;
}

#trs26 .ft-nl-checkbox input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: static;
    opacity: 1;
    flex-shrink: 0;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

#trs26 .ft-nl-checkbox label {
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #6f6f6f;
    cursor: pointer;
    line-height: 1.3;
    display: inline;
}

/* ============================================================
   NEWSLETTER — Contact Form 7 compatibility
   ============================================================ */

/* Flatten CF7's default wrapper spans and auto-inserted <p>/<br>
   so form controls inherit the layout of .ft-nl-input / .ft-nl-checkbox */
#trs26 .ft-nl-form .wpcf7-form-control-wrap {
    display: contents;
}
#trs26 .ft-nl-input p,
#trs26 .ft-nl-checkbox p {
    display: contents;
    margin: 0;
    padding: 0;
}
#trs26 .ft-nl-input br,
#trs26 .ft-nl-checkbox br {
    display: none;
}

/* Legal paragraph inside the newsletter block */
#trs26 .ft-nl-form .ft-nl-legal {
    margin: 12px 0 10px;
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
}

/* Email input inside the pill */
#trs26 .ft-nl-input .wpcf7-email {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 0 16px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 13px;
    color: #1d1f22;
    outline: none;
    height: 100%;
    margin: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

/* Submit inside the pill */
#trs26 .ft-nl-input .wpcf7-submit {
    flex-shrink: 0;
    border: none;
    background: #049ba9;
    color: #fff;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0 24px;
    height: 42px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    line-height: 42px;
    letter-spacing: 0.02em;
}
#trs26 .ft-nl-input .wpcf7-submit:hover {
    background: #037d89;
}

/* Hide the CF7 spinner (avoids layout shift next to submit) */
#trs26 .ft-nl-form .wpcf7-spinner {
    display: none !important;
}

/* Acceptance (checkbox + label) */
#trs26 .ft-nl-checkbox .wpcf7-acceptance {
    display: inline-block;
    width: 100%;
}
#trs26 .ft-nl-checkbox .wpcf7-list-item {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
#trs26 .ft-nl-checkbox .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #6f6f6f;
    line-height: 1.3;
}
#trs26 .ft-nl-checkbox .wpcf7-list-item input[type="checkbox"] {
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}
#trs26 .ft-nl-checkbox .wpcf7-list-item-label {
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #6f6f6f;
    line-height: 1.3;
}

/* Response messages */
#trs26 .ft-nl-form .wpcf7-response-output {
    margin: 12px 0 0 !important;
    padding: 8px 12px !important;
    border: 1px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px;
    color: #fff;
    background: transparent;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}
#trs26 .ft-nl-form .wpcf7-not-valid-tip {
    color: #ffb6b6;
    font-size: 11px;
    margin-top: 4px;
}

/* ============================================================
   IMAGE STRIP — above legals
   ============================================================ */
#trs26 .ft-image {
    padding: 20px 0;
}

#trs26 .ft-image .ft-wrap {
    justify-content: center;
}

#trs26 .ft-image img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    mix-blend-mode: multiply;
}

/* ============================================================
   BOTTOM BAR — legal links
   ============================================================ */
#trs26 .ft-btm {
    border-top: 1px solid #dedede;
    padding: 14px 0;
}

#trs26 .ft-btm .ft-wrap {
    justify-content: flex-start;
}

#trs26 .ft-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
}

#trs26 .ft-legal li {
    font-size: 12px;
    color: #6d6d6d;
    line-height: 1;
    padding: 0 10px;
    border-right: 1px solid #999;
    display: block;
    width: auto;
}

#trs26 .ft-legal li:first-child {
    padding-left: 0;
}

#trs26 .ft-legal li:last-child {
    border-right: none;
    padding-right: 0;
}

#trs26 .ft-legal li a {
    color: #6d6d6d;
    font-size: 12px;
}

#trs26 .ft-legal li a:hover {
    color: #1d1f22;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
#trs26.ct-page {
    background: #fff;
    padding: 150px 0 80px;
}

#trs26 .ct-wrap {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#trs26 .ct-header {
    text-align: center;
    margin-bottom: 50px;
}

#trs26 .ct-title {
    font-family: 'latoblack', 'Lato', Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d0d3b;
    margin: 0 0 16px;
    padding: 0;
}

#trs26 .ct-subtitle {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #464a4f;
    max-width: 700px;
    margin: 0 auto;
}

/* CF7 form layout */
#trs26 .wpcf7 {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

#trs26 .wpcf7-form {
    display: block;
}

#trs26 .wpcf7-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#trs26 .wpcf7-form .contct-lft {
    float: none;
    width: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#trs26 .wpcf7-form .contct-rgt {
    float: none;
    width: auto;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Inputs & textarea */
#trs26.ct-page input[type="text"],
#trs26.ct-page input[type="email"],
#trs26.ct-page input[type="tel"],
#trs26.ct-page select {
    width: 100%;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #1d1f22;
    background: #fff;
    margin-bottom: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    float: none;
    height: auto;
    line-height: normal;
    box-shadow: none;
}

#trs26.ct-page input[type="text"]:focus,
#trs26.ct-page input[type="email"]:focus,
#trs26.ct-page input[type="tel"]:focus,
#trs26.ct-page select:focus {
    border-color: #049ba9;
}

#trs26.ct-page input::placeholder,
#trs26.ct-page textarea::placeholder {
    color: #b0b0b0;
}

#trs26.ct-page textarea {
    width: 100%;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #1d1f22;
    background: #fff;
    outline: none;
    resize: vertical;
    flex: 1;
    min-height: 100%;
    transition: border-color 0.2s ease;
    float: none;
    box-shadow: none;
    margin: 0;
}

#trs26.ct-page textarea:focus {
    border-color: #049ba9;
}

/* LOPD text */
#trs26.ct-page .contct-rgt p,
#trs26.ct-page .ct-lopd {
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 11px;
    line-height: 14px;
    color: #999;
    text-align: justify;
    margin-bottom: 20px;
}

/* Checkboxes */
#trs26.ct-page .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
}

#trs26.ct-page input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    position: static;
    opacity: 1;
    flex-shrink: 0;
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

#trs26.ct-page .wpcf7-list-item-label {
    font-family: 'latolight', 'Lato', Arial, sans-serif;
    font-size: 12px;
    color: #6f6f6f;
    cursor: pointer;
    margin: 0;
}

/* Submit button */
#trs26.ct-page input[type="submit"] {
    display: block;
    margin: 30px auto 0;
    background: #049ba9;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 50px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s ease;
    float: none;
    position: static;
    line-height: normal;
}

#trs26.ct-page input[type="submit"]:hover {
    background: #037d89;
}

/* CF7 validation */
#trs26.ct-page input.wpcf7-not-valid,
#trs26.ct-page textarea.wpcf7-not-valid {
    border-color: #c0392b;
}

#trs26.ct-page .wpcf7-response-output {
    text-align: center;
    margin: 20px 0 0;
    font-size: 14px;
}

/* ============================================================
   SERVEIS PAGE
   ============================================================ */
#trs26.srv-page {
    background: #fff;
    padding: 150px 0 80px;
}

#trs26 .srv-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#trs26 .srv-header {
    text-align: center;
    margin-bottom: 50px;
}

#trs26 .srv-title {
    font-family: 'latoblack', 'Lato', Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d0d3b;
    margin: 0 0 16px;
    padding: 0;
}

#trs26 .srv-subtitle {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #464a4f;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid — 3 columns */
#trs26 .srv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
}

/* Each letter group */
#trs26 .srv-group {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* Letter circle */
#trs26 .srv-letter {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #049ba9;
    display: flex;
    align-items: center;
    justify-content: center;
}

#trs26 .srv-letter span {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

/* Category list */
#trs26 .srv-list {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

#trs26 .srv-list li {
    display: block;
    margin-bottom: 6px;
    width: auto;
    border: none;
    padding: 0;
    float: none;
}

#trs26 .srv-list li a {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1d1f22;
    text-decoration: underline;
    text-underline-offset: 2px;
    background: none;
    padding: 0;
    display: inline;
    cursor: pointer;
}

#trs26 .srv-list li a:hover,
#trs26 .srv-list li a.active {
    color: #049ba9;
}

/* ---- Modal ---- */
#trs26 .srv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

#trs26 .srv-modal {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Modal header — teal bar */
#trs26 .srv-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: #049ba9;
    flex-shrink: 0;
}

#trs26 .srv-modal-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding: 0;
    letter-spacing: 0.03em;
}

#trs26 .srv-modal-close {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0;
    line-height: 0;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

#trs26 .srv-modal-close:hover {
    opacity: 1;
}

/* Modal body — scrollable */
#trs26 .srv-modal-body {
    overflow-y: auto;
    flex: 1;
    background: #fff;
}

#trs26 .srv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #efefef;
}

#trs26 .srv-row:last-child {
    border-bottom: none;
}

#trs26 .srv-row-name {
    flex: 1;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1f22;
    min-width: 0;
}

#trs26 .srv-row-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

#trs26 .srv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

#trs26 .srv-icon:hover {
    opacity: 1;
}

/* ============================================================
   DIRECTORI PAGE
   ============================================================ */
#trs26.dir-page {
    background: #fff;
    padding: 150px 0 200px;
}

/* On pages without a hero (directori, zona_nit), force the global site
   header (which is transparent by default) to a solid navy background. */
body.has-solid-header .site-main {
    background: #1d1d4b;
}

/* ============================================================
   LEGAL — Text Legal template (no hero, header solid)
   ============================================================ */
#trs26.legal-section {
    padding: 140px 0 80px;
}

#trs26 .legal-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

#trs26 .legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6b6f76;
    margin-bottom: 16px;
}

#trs26 .legal-breadcrumb a {
    color: #6b6f76;
    text-decoration: none;
}

#trs26 .legal-breadcrumb a:hover {
    color: #049ba9;
}

#trs26 .legal-bc-current {
    color: #1d1f22;
}

#trs26 .legal-title {
    font-size: 36px;
    line-height: 1.2;
    margin: 0 0 28px;
    color: #1d1f22;
}

#trs26 .legal-content {
    font-size: 16px;
    line-height: 1.6;
    color: #1d1f22;
}

#trs26 .legal-content p {
    margin: 0 0 16px;
}

#trs26 .legal-content h2 {
    font-size: 22px;
    line-height: 1.3;
    margin: 32px 0 12px;
    color: #1d1f22;
}

#trs26 .legal-content h3 {
    font-size: 18px;
    line-height: 1.3;
    margin: 24px 0 10px;
    color: #1d1f22;
}

#trs26 .legal-content ul,
#trs26 .legal-content ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

#trs26 .legal-content a {
    color: #049ba9;
    text-decoration: underline;
}

@media (max-width: 767px) {
    #trs26.legal-section {
        padding: 110px 0 60px;
    }
    #trs26 .legal-title {
        font-size: 28px;
    }
}

#trs26 .dir-wrap {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
#trs26 .dir-header {
    text-align: center;
    margin-bottom: 50px;
}

#trs26 .dir-title {
    font-family: 'latoblack', 'Lato', Arial, sans-serif;
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d0d3b;
    margin: 0 0 16px;
    padding: 0;
}

#trs26 .dir-subtitle {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #464a4f;
    max-width: 700px;
    margin: 0 auto;
}

/* Accordion stack */
#trs26 .dir-accordions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#trs26 .dir-accordion {
    border-radius: 14px;
    overflow: hidden;
}

/* Header bar — collapsed state (light) */
#trs26 .dir-acc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 40px;
    background: #EFEFEF;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 14px;
}

#trs26 .dir-acc-header h2 {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #049ba9;
    margin: 0;
    padding: 0;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

#trs26 .dir-acc-chevron {
    color: #049ba9;
    display: flex;
    align-items: center;
    line-height: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Header bar — open state (teal) */
#trs26 .dir-accordion.open .dir-acc-header {
    background: #049ba9;
    border-radius: 14px 14px 0 0;
}

#trs26 .dir-accordion.open .dir-acc-header h2 {
    color: #fff;
}

#trs26 .dir-accordion.open .dir-acc-chevron {
    color: #fff;
    transform: rotate(180deg);
}

/* Body — rows */
#trs26 .dir-acc-body {
    background: #fff;
}

#trs26 .dir-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #efefef;
}

#trs26 .dir-row:last-child {
    border-bottom: none;
}

#trs26 .dir-row-name {
    flex: 1;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1f22;
    min-width: 0;
}

#trs26 .dir-row-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

#trs26 .dir-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.2s ease;
}

#trs26 .dir-icon:hover {
    opacity: 1;
}

/* ============================================================
   OFFICE PAGE — Hero
   ============================================================ */
#trs26.ofc-hero {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#trs26 .ofc-hero-overlay {
    width: 100%;
    padding: 150px 0 50px 0;
    background: rgba(12, 133, 135, 0.82);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

#trs26 .ofc-hero-title {
    font-family: 'KoHo', sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 120px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

@media (max-width: 767px) {
    #trs26 .ofc-hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
}

/* ============================================================
   OFFICE PAGE — Cards
   ============================================================ */
#trs26.ofc-cards-section {
    background: #fff;
    padding: 60px 0;
}

#trs26 .ofc-cards-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

#trs26 .ofc-cards {
    display: flex;
    gap: 150px;
}

#trs26 .ofc-card {
    flex: 1;
    min-width: 0;
}

/* Title */
#trs26 .ofc-card-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #049ba9;
    margin: 0 0 16px;
    padding: 0;
}

/* Location subtitle */
#trs26 .ofc-card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    text-decoration: none;
}

#trs26 .ofc-card-location span {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #888;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Address */
#trs26 .ofc-card-address {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #1d1f22;
    line-height: 1.5;
    margin: 0 0 16px;
    padding-left: 26px;
}

/* Contact rows (phone, email) */
#trs26 .ofc-card-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

#trs26 .ofc-card-contact svg {
    flex-shrink: 0;
}

#trs26 .ofc-card-contact a {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #1d1f22;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#trs26 .ofc-card-contact a:hover {
    color: #049ba9;
}

/* Button */
#trs26 .ofc-card-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 28px;
    border: 1px solid #1d1f22;
    border-radius: 30px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1f22;
    text-decoration: none;
    text-transform: none;
    transition: all 0.3s ease;
}

#trs26 .ofc-card-btn:hover {
    background: #049ba9;
    border-color: #049ba9;
    color: #fff;
}

/* Image */
#trs26 .ofc-card-img {
    margin-top: 30px;
}

#trs26 .ofc-card-img img {
    width: 100%;
    height: auto;
    border-radius: 33px;
    display: block;
}

/* ============================================================
   OFFICE PAGE — Horaris
   ============================================================ */
#trs26.ofc-horaris-section {
    background: #fff;
    padding: 60px 0 80px;
}

#trs26 .ofc-horaris-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* H2 pill — dark navy (comes from the_content) */
#trs26 .ofc-horaris-wrap h2 {
    background: #0d0d3b;
    border-radius: 20px;
    padding: 12px 25px;
    margin: 0 0 40px;
    text-align: center;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#trs26 .ofc-horaris-wrap h2 strong{
    color: #fff;
}

/* Content styling */
#trs26 .ofc-horaris-wrap {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #1d1f22;
    line-height: 1.6;
}

#trs26 .ofc-horaris-wrap table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

#trs26 .ofc-horaris-wrap table tr {
    border-bottom: 1px solid #0d0d3b;
}

#trs26 .ofc-horaris-wrap table tr:last-child {
    border-bottom: none;
}

#trs26 .ofc-horaris-wrap table td,
#trs26 .ofc-horaris-wrap table th {
    padding: 24px 16px;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.5;
    border: none;
    background: none;
}

#trs26 .ofc-horaris-wrap table td:first-child,
#trs26 .ofc-horaris-wrap table th:first-child {
    padding-left: 0;
}

#trs26 .ofc-horaris-wrap table td:last-child,
#trs26 .ofc-horaris-wrap table th:last-child {
    padding-right: 0;
}

/* Bold columns (period + month) */
#trs26 .ofc-horaris-wrap strong,
#trs26 .ofc-horaris-wrap b {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-weight: 700;
    color: #0d0d3b;
}

#trs26 .ofc-horaris-wrap p {
    margin: 0 0 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ============================================================
   FOOTER — INTERMEDIATE (768–1199px)
   - Top bar: stack logo / nav / social vertically, centered
     (prevents nav from wrapping awkwardly with social squeezed in).
   - Mid: offices and newsletter each take a full row, both
     centered horizontally as groups.
   - At <960px, stack newsletter info above the form.
   ============================================================ */
@media (max-width: 1199px) and (min-width: 768px) {
    /* Top bar — stack vertically, all centered */
    #trs26 .ft-top {
        padding: 24px 0 8px;
    }
    #trs26 .ft-top .ft-wrap {
        flex-direction: column;
        gap: 25px;
    }
    #trs26 .ft-nav {
        flex: 0 0 auto;
        padding: 0;
        width: 100%;
    }
    #trs26 .ft-nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 28px;
    }
    #trs26 .ft-social {
        justify-content: center;
    }

    /* Mid — stack offices row above newsletter row, each full width */
    #trs26 .ft-mid .ft-wrap {
        flex-wrap: wrap;
        gap: 28px;
    }

    /* Offices: centered group, natural width per office */
    #trs26 .ft-offices {
        flex: 0 0 100%;
        max-width: 100%;
        justify-content: center;
        gap: 60px;
    }
    #trs26 .ft-office {
        flex: 0 0 auto;
    }

    /* Newsletter: stack info above form, both centered */
    #trs26 .ft-newsletter {
        flex: 0 0 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    #trs26 .ft-newsletter > div {
        flex: 0 0 auto;
        margin: 0 auto;
    }
    #trs26 .ft-nl-info {
        max-width: 480px;
        text-align: center;
    }
    #trs26 .ft-nl-form {
        width: 100%;
        max-width: 460px;
    }
}

/* ============================================================
   FOOTER — MOBILE OVERRIDES ONLY
   Reorders sections visually (nav → offices → newsletter → social →
   legal → logo) using display: contents + flex order, without touching
   the desktop DOM structure.
   ============================================================ */
@media (max-width: 767px) {
    /* Let footer be the flex container; flatten the intermediate wrappers */
    #trs26 footer.site-main,
    footer#trs26 {
        display: flex;
        flex-direction: column;
        padding: 32px 20px 24px;
        gap: 22px;
        text-align: center;
    }
    #trs26 .ft-top,
    #trs26 .ft-mid,
    #trs26 .ft-btm,
    #trs26 .ft-top > .ft-wrap,
    #trs26 .ft-mid > .ft-wrap,
    #trs26 .ft-image > .ft-wrap,
    #trs26 .ft-btm > .ft-wrap {
        display: contents;
    }

    /* Visual order */
    #trs26 .ft-nav        { order: 1; }
    #trs26 .ft-offices    { order: 2; }
    #trs26 .ft-newsletter { order: 3; }
    #trs26 .ft-social     { order: 4; }
    #trs26 .ft-image      { order: 5; }
    #trs26 .ft-legal      { order: 6; }
    #trs26 .ft-logo       { order: 7; }

    /* Dividers above offices / newsletter / legal */
    #trs26 .ft-offices,
    #trs26 .ft-newsletter,
    #trs26 .ft-legal {
        position: relative;
        padding-top: 22px;
    }
    #trs26 .ft-offices::before,
    #trs26 .ft-newsletter::before,
    #trs26 .ft-legal::before {
        content: '';
        display: block;
        height: 1px;
        background: #d9d9d9;
        margin-bottom: 22px;
    }

    /* Nav: stack centered */
    #trs26 .ft-nav {
        flex: 0 0 auto;
        padding: 0;
        width: 100%;
    }
    #trs26 .ft-nav-list {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    #trs26 .ft-nav-list li a {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
    }

    /* Offices: stack centered, full width */
    #trs26 .ft-offices {
        flex: 0 0 auto;
        flex-direction: column;
        gap: 18px;
        width: 100%;
    }
    #trs26 .ft-office {
        flex: 0 0 auto;
        text-align: center;
    }
    #trs26 .ft-office strong,
    #trs26 .ft-office b {
        font-family: 'DM Sans', sans-serif;
    }
    #trs26 .ft-office p {
        font-family: 'DM Sans', sans-serif;
    }

    /* Newsletter: stack info + form centered, max 460px */
    #trs26 .ft-newsletter {
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }
    #trs26 .ft-newsletter > div {
        flex: 0 0 auto;
        width: 100%;
    }
    #trs26 .ft-nl-info h3,
    #trs26 .ft-nl-info p {
        font-family: 'DM Sans', sans-serif;
        text-align: center;
    }
    #trs26 .ft-nl-input {
        height: 44px;
    }
    #trs26 .ft-nl-input input[type="email"] {
        font-family: 'DM Sans', sans-serif;
    }
    #trs26 .ft-nl-input input[type="submit"] {
        font-family: 'DM Sans', sans-serif;
        font-weight: 600;
        text-transform: none;
        height: 44px;
        line-height: 44px;
        letter-spacing: 0;
    }
    #trs26 .ft-nl-checkbox {
        justify-content: flex-start;
    }
    #trs26 .ft-nl-checkbox label {
        font-family: 'DM Sans', sans-serif;
        text-align: left;
    }

    /* Social: between newsletter and legal, centered row */
    #trs26 .ft-social {
        flex: 0 0 auto;
        justify-content: center;
        gap: 14px;
        width: 100%;
    }

    /* Legal: single row centered with separators */
    #trs26 .ft-legal {
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        width: 100%;
    }
    #trs26 .ft-legal li {
        font-family: 'DM Sans', sans-serif;
        border-right: 1px solid #b5b5b5;
        padding: 0 10px;
    }
    #trs26 .ft-legal li:first-child {
        padding-left: 10px;
    }
    #trs26 .ft-legal li:last-child {
        border-right: none;
    }

    /* Logo at the very bottom */
    #trs26 .ft-logo {
        flex: 0 0 auto;
        align-self: center;
        margin-top: 4px;
    }
    #trs26 .ft-logo img {
        width: 130px;
    }
}

@media (max-width: 1023px) {
    /* Serveis responsive — tablet */
    #trs26 .srv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 40px;
    }
}

@media (max-width: 767px) {
    /* Contact page responsive */
    #trs26 .wpcf7-form {
        flex-direction: column;
        gap: 0;
    }

    #trs26 .wpcf7-form .contct-lft,
    #trs26 .wpcf7-form .contct-rgt {
        width: 100%;
    }

    #trs26.ct-page textarea {
        min-height: 200px;
    }

    /* Office cards responsive */
    #trs26 .ofc-cards {
        flex-direction: column;
        gap: 40px;
    }

    /* Serveis responsive */
    #trs26 .srv-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    #trs26 .srv-modal-overlay {
        padding: 20px 10px;
    }

    #trs26 .srv-modal {
        max-height: 90vh;
    }

    #trs26 .srv-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #trs26 .srv-row-icons {
        align-self: flex-end;
    }
}

/* ============================================================
   GALERIA — Main grid + slider view
   ============================================================ */
#trs26.gal-page {
    background: linear-gradient(180deg, #1e4a6b 0%, #2e6183 100%);
    min-height: 100vh;
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

#trs26 .gal-main,
#trs26 .gal-slider-view {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ---- MAIN GRID VIEW ---- */
#trs26 .gal-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 70vh;
}

#trs26 .gal-heading {
    flex: 0 0 auto;
    padding-right: 20px;
}

#trs26 .gal-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 72px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
}

#trs26 .gal-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
}

#trs26 .gal-tile {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#trs26 .gal-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

#trs26 .gal-tile--video {
    background: linear-gradient(135deg, #2a5977 0%, #3a7596 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#trs26 .gal-tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
    transition: background 0.3s ease;
    pointer-events: none;
}

#trs26 .gal-tile:hover .gal-tile-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
}

#trs26 .gal-tile-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    opacity: 0.7;
    pointer-events: none;
}

#trs26 .gal-tile-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    text-align: center;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* ---- SLIDER VIEW ---- */
#trs26 .gal-slider-view {
    position: relative;
    min-height: 70vh;
    padding-top: 20px;
}

/* Back button — outline pill, top-left of slider view */
#trs26 .gal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 8px 18px;
    border-radius: 30px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.3s ease;
    position: absolute;
    top: 20px;
    left: 40px;
    z-index: 5;
}
#trs26 .gal-back:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Heading block: "GALERIA" main + section subtitle */
#trs26 .gal-slider-heading {
    text-align: center;
    margin: 0 0 50px;
}
#trs26 .gal-slider-main-title {
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    font-size: 72px;
    line-height: 1;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 6px;
    padding: 0;
}
#trs26 .gal-slider-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.05em;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

/* ---- Owl Carousel overrides (scoped) ---- */
#trs26 .gal-carousel-wrap {
    position: relative;
    padding-bottom: 80px;
}

#trs26 .gal-owl .owl-stage-outer {
    overflow: visible;
}

/* Restore Owl Carousel defaults overridden by #trs26 global reset */
#trs26 .gal-owl .owl-stage {
    position: relative;
}

#trs26 .gal-owl .owl-item {
    float: left;
    position: relative;
    min-height: 1px;
    cursor: pointer;
}

#trs26 .gal-owl .owl-item.center {
    cursor: default;
}

#trs26 .gal-owl .owl-item {
    opacity: 0.55;
    transform: scale(0.88);
    transition: all 0.4s ease;
}

#trs26 .gal-owl .owl-item.center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

#trs26 .gal-owl-item {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    background: #000;
}

#trs26 .gal-owl-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* Owl nav arrows — centered bottom */
#trs26 .gal-owl .owl-nav {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -60px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 28px !important;
    margin: 0 !important;
    z-index: 10;
    pointer-events: auto;
}

#trs26 .gal-owl .owl-nav button.owl-prev,
#trs26 .gal-owl .owl-nav button.owl-next {
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    padding: 6px !important;
    margin: 0 !important;
    cursor: pointer !important;
    transition: opacity 0.2s ease;
    opacity: 0.85;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    font-size: 0;
    line-height: 0;
    outline: none;
    box-shadow: none;
}

#trs26 .gal-owl .owl-nav button.owl-prev:hover,
#trs26 .gal-owl .owl-nav button.owl-next:hover {
    opacity: 1;
    background: transparent !important;
}

#trs26 .gal-owl .owl-nav button.owl-prev svg,
#trs26 .gal-owl .owl-nav button.owl-next svg {
    stroke: #fff !important;
    width: 32px !important;
    height: 32px !important;
    display: block;
}

#trs26 .gal-owl .owl-nav button.disabled {
    opacity: 0.3 !important;
    cursor: default !important;
}

#trs26 .gal-owl .owl-dots {
    display: none !important;
}

/* ---- Videos grid ---- */
#trs26 .gal-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

#trs26 .gal-video-item {
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

#trs26 .gal-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

#trs26 .gal-video-embed iframe,
#trs26 .gal-video-embed video,
#trs26 .gal-video-embed object,
#trs26 .gal-video-embed embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    #trs26 .gal-title {
        font-size: 56px;
    }

    #trs26 .gal-slider-main-title {
        font-size: 56px;
    }
    #trs26 .gal-slider-title {
        font-size: 24px;
    }
}

@media (max-width: 1023px) {
    #trs26 .gal-main-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        min-height: auto;
    }

    #trs26 .gal-heading {
        text-align: center;
        padding: 0;
    }

    #trs26 .gal-title {
        font-size: 48px;
    }

    #trs26 .gal-grid {
        max-width: none;
    }

    #trs26 .gal-tile-label {
        font-size: 18px;
        bottom: 20px;
    }

    #trs26 .gal-videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    /* #trs26.gal-page {
        padding: 30px 0 50px;
    } */

    #trs26 .gal-main,
    #trs26 .gal-slider-view {
        padding: 0 20px;
    }

    /* Slider view padding so heading + button have breathing room */
    #trs26 .gal-slider-view {
        padding-top: 60px;
    }

    /* Back button — keep top-left, smaller padding on mobile */
    #trs26 .gal-back {
        left: 20px;
        top: 16px;
        padding: 6px 14px;
        font-size: 12px;
    }

    /* Heading — centered above carousel (only spacing + size overrides here) */
    #trs26 .gal-slider-heading {
        margin: 0 0 35px;
    }
    #trs26 .gal-slider-main-title {
        font-size: 40px;
    }
    #trs26 .gal-slider-title {
        font-size: 22px;
    }

    /* Taller slide on mobile — looks generous like the design */
    #trs26 .gal-owl-item img {
        aspect-ratio: 3 / 4;
    }
    /* Smaller peek of side slides on mobile so the active one is bigger */
    #trs26 .gal-owl .owl-item {
        opacity: 0.4;
        transform: scale(0.92);
    }

    #trs26 .gal-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 16px;
    }

    #trs26 .gal-tile {
        aspect-ratio: 16 / 9;
        border-radius: 18px;
    }

    /* Labels centered vertically on stacked mobile tiles */
    #trs26 .gal-tile-label {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        font-size: 22px;
        letter-spacing: 0.06em;
        padding: 0 16px;
    }

    /* Video tile: keep play icon centered + label slightly below it */
    #trs26 .gal-tile--video .gal-tile-icon {
        transform: translate(-50%, -85%);
    }
    #trs26 .gal-tile--video .gal-tile-label {
        top: auto;
        bottom: 24px;
        transform: none;
    }

    #trs26 .gal-title {
        font-size: 48px;
    }

    #trs26 .gal-heading {
        margin-bottom: 8px;
    }
}

/* ============================================================
   HERO UNIFICAT — Totes les pàgines (qv / qf / ac / al / om)
   ============================================================ */

/* Section */
#trs26.qv-hero,
#trs26.qf-hero,
#trs26.ac-hero,
#trs26.al-hero,
#trs26.om-hero {
    position: relative;
    width: 100%;
    min-height: 640px;
    background-color: #1d1f22;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-sizing: border-box;
}

/* Half-height variant — single post heroes */
#trs26.qv-hero--half {
    min-height: 50vh;
}

#trs26.qv-hero--half .qv-hero-title {
    font-size: 60px;
}

@media (max-width: 1200px) {
    #trs26.qv-hero--half .qv-hero-title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    #trs26.qv-hero--half {
        min-height: 380px;
    }
    #trs26.qv-hero--half .qv-hero-title {
        font-size: 36px;
    }
}

/* Overlay */
#trs26 .qv-hero-overlay,
#trs26 .qf-hero-overlay,
#trs26 .ac-hero-overlay,
#trs26 .al-hero-overlay,
#trs26 .om-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000000 -11.04%, rgba(115, 115, 115, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Content */
#trs26 .qv-hero-content,
#trs26 .qf-hero-content,
#trs26 .ac-hero-content,
#trs26 .al-hero-content,
#trs26 .om-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px 80px;
    color: #fff;
    box-sizing: border-box;
}

/* Title */
#trs26 .qv-hero-title,
#trs26 .qf-hero-title,
#trs26 .ac-hero-title,
#trs26 .al-hero-title,
#trs26 .om-hero-title {
    font-family: 'KoHo', sans-serif;
    font-size: 85px;
    font-weight: 700;
    line-height: 1;
    margin: 0 0 14px;
    padding: 0;
    color: #fff;
    letter-spacing: 0;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Subtitle */
#trs26 .qv-hero-subtitle,
#trs26 .qf-hero-subtitle,
#trs26 .ac-hero-subtitle,
#trs26 .al-hero-subtitle,
#trs26 .om-hero-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 35px;
    font-weight: 300;
    line-height: 1;
    color: #fff;
    margin: 0;
    padding: 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 1200px) {
    #trs26.qv-hero,
    #trs26.qf-hero,
    #trs26.ac-hero,
    #trs26.al-hero,
    #trs26.om-hero {
        min-height: 520px;
    }
    #trs26 .qv-hero-content,
    #trs26 .qf-hero-content,
    #trs26 .ac-hero-content,
    #trs26 .al-hero-content,
    #trs26 .om-hero-content {
        padding: 0 50px 60px;
    }
    #trs26 .qv-hero-title,
    #trs26 .qf-hero-title,
    #trs26 .ac-hero-title,
    #trs26 .al-hero-title,
    #trs26 .om-hero-title {
        font-size: 65px;
        line-height: 1.15;
    }
    #trs26 .qv-hero-subtitle,
    #trs26 .qf-hero-subtitle,
    #trs26 .ac-hero-subtitle,
    #trs26 .al-hero-subtitle,
    #trs26 .om-hero-subtitle {
        font-size: 26px;
        line-height: 1.4;
    }
}

@media (max-width: 767px) {
    #trs26.qv-hero,
    #trs26.qf-hero,
    #trs26.ac-hero,
    #trs26.al-hero,
    #trs26.om-hero {
        min-height: 380px;
    }
    /* Darker overlay so centered text reads on any image */
    #trs26 .qv-hero-overlay,
    #trs26 .qf-hero-overlay,
    #trs26 .ac-hero-overlay,
    #trs26 .al-hero-overlay,
    #trs26 .om-hero-overlay {
        background: rgba(0, 0, 0, 0.45);
    }
    #trs26 .qv-hero-content,
    #trs26 .qf-hero-content,
    #trs26 .ac-hero-content,
    #trs26 .al-hero-content,
    #trs26 .om-hero-content {
        padding: 0 24px 40px;
        text-align: center;
    }
    #trs26 .qv-hero-title,
    #trs26 .qf-hero-title,
    #trs26 .ac-hero-title,
    #trs26 .al-hero-title,
    #trs26 .om-hero-title {
        font-size: 44px;
        line-height: 1.1;
        margin-bottom: 10px;
    }
    #trs26 .qv-hero-subtitle,
    #trs26 .qf-hero-subtitle,
    #trs26 .ac-hero-subtitle,
    #trs26 .al-hero-subtitle,
    #trs26 .om-hero-subtitle {
        font-size: 18px;
        line-height: 1.4;
    }
}

/* ==========================================================================
   AG SINGLE — Single event hero (navy) + meta (breadcrumb + teal title)
   ========================================================================== */

/* 1. Navy hero with section title "AGENDA" */
#trs26.ag-single-hero {
    width: 100%;
    background: #1d1d4b;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    box-sizing: border-box;
}

#trs26 .ag-single-hero-inner {
    text-align: center;
}

#trs26 .ag-single-hero-title {
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    font-size: 80px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* 2. White meta section with breadcrumb + event title */
#trs26.ag-single-meta {
    width: 100%;
    background: #fff;
    padding: 25px 0;
    box-sizing: border-box;
}

#trs26 .ag-single-meta-wrap {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
}

/* Breadcrumb */
#trs26 .ag-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 32px;
}

#trs26 .ag-single-breadcrumb a {
    color: #1d1d4b;
    text-decoration: none;
    transition: color 0.2s ease;
}

#trs26 .ag-single-breadcrumb a:hover {
    color: rgba(143, 200, 201, 1);
}

#trs26 .ag-single-bc-chev {
    color: #1d1d4b;
    font-size: 16px;
    line-height: 1;
}

#trs26 .ag-single-bc-current {
    color: #1d1d4b;
}

/* Event title — teal with calendar icon */
#trs26 .ag-single-event-title {
    display: flex;
    align-items: center;
    gap: 18px;
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    color: rgba(12, 133, 135, 1);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0 0 50px 0;
    padding: 0;
}

#trs26 .ag-single-event-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    color: rgba(143, 200, 201, 1);
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.ag-single-hero {
        min-height: 40vh;
        padding: 100px 30px 60px;
    }
    #trs26 .ag-single-hero-title {
        font-size: 60px;
    }
    #trs26 .ag-single-meta-wrap {
        padding: 0 50px;
    }
    #trs26 .ag-single-event-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    #trs26.ag-single-hero {
        min-height: 35vh;
        padding: 90px 20px 50px;
    }
    #trs26 .ag-single-hero-title {
        font-size: 44px;
    }
    #trs26.ag-single-meta {
        padding: 40px 0 20px;
    }
    #trs26 .ag-single-meta-wrap {
        padding: 0 24px;
    }
    #trs26 .ag-single-breadcrumb {
        font-size: 12px;
    }
    #trs26 .ag-single-event-title {
        font-size: 22px;
        gap: 12px;
    }
    #trs26 .ag-single-event-icon svg {
        width: 24px;
        height: 24px;
    }
}

/* ============================================================
   AG EVENT — Single event content (image + info card + map + nav)
   ============================================================ */
#trs26.ag-event-section {
    background: #fff;
    padding: 40px 0 80px;
}

#trs26 .ag-event-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

#trs26 .ag-event-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left column */
#trs26 .ag-event-main { min-width: 0; position: relative; }

#trs26 .ag-event-img {
    /* border-radius: 18px;
    overflow: hidden;
    background: #f3f3f3;
    aspect-ratio: 4 / 3; */
}
#trs26 .ag-event-img img {
    width: 100%;
    height: auto;
    /* object-fit: cover; */
    display: block;
}

#trs26 .ag-event-notices {
    margin-top: 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #d33;
}

#trs26 .ag-event-body {
    margin-top: 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    color: #222;
}
#trs26 .ag-event-body p { margin: 0 0 14px; }

/* Right column — info card */
#trs26 .ag-event-info {
    background: rgba(239, 239, 239, 1);
    border-radius: 20px;
    padding: 32px 32px 28px;
    font-family: 'DM Sans', sans-serif;
    color: #1d1d4b;
    box-sizing: border-box;
    position: sticky;
    top: 110px;
}

#trs26 .ag-event-info__date {
    font-size: 35px;
    font-weight: 700;
    line-height: 1.15;
    color: #1d1d4b;
    margin-bottom: 6px;
}

#trs26 .ag-event-info__time {
    font-size: 22px;
    font-weight: 500;
    color: #1d1d4b;
    margin-bottom: 18px;
}

#trs26 .ag-event-info__divider {
    border: 0;
    border-top: 1px solid rgba(29, 29, 75, 0.15);
    margin: 0 0 18px;
}

#trs26 .ag-event-info__row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
}

#trs26 .ag-event-info__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(143, 200, 201, 1);
    margin-top: 2px;
}
#trs26 .ag-event-info__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

#trs26 .ag-event-info__row-content {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #1d1d4b;
    word-wrap: break-word;
}

#trs26 .ag-event-info__venue {
    font-weight: 700;
    margin-bottom: 2px;
}

#trs26 .ag-event-info__address {
    font-size: 14px;
    color: rgba(29, 29, 75, 0.75);
}

#trs26 .ag-event-info__link {
    display: block;
    color: #1d1d4b;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}
#trs26 .ag-event-info__link:hover {
    color: rgba(143, 200, 201, 1);
}
#trs26 .ag-event-info__link + .ag-event-info__link { margin-top: 4px; }

#trs26 .ag-event-info__row-content a[href^="tel:"] {
    color: #1d1d4b;
    text-decoration: none;
    transition: color 0.2s ease;
}
#trs26 .ag-event-info__row-content a[href^="tel:"]:hover {
    color: rgba(143, 200, 201, 1);
}

#trs26 .ag-event-info__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 22px;
    padding: 14px 20px;
    background: #1d1d4b;
    color: #fff;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}
#trs26 .ag-event-info__cta:hover {
    background: rgba(143, 200, 201, 1);
    color: #1d1d4b;
}
#trs26 .ag-event-info__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#trs26 .ag-event-info__cta-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Map */
#trs26 .ag-event-map {
    margin-top: 48px;
    border-radius: 18px;
    overflow: hidden;
}
#trs26 .ag-event-map #map-desktop {
    width: 100%;
    height: 420px;
}

/* Nav */
#trs26 .ag-event-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(29, 29, 75, 0.12);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
}
#trs26 .ag-event-nav a {
    color: #1d1d4b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}
#trs26 .ag-event-nav a:hover {
    color: rgba(143, 200, 201, 1);
}
#trs26 .ag-event-nav__next { margin-left: auto; text-align: right; }

/* Responsive */
@media (max-width: 980px) {
    #trs26 .ag-event-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    #trs26 .ag-event-info {
        position: static;
    }
}

@media (max-width: 640px) {
    #trs26.ag-event-section {
        padding: 24px 0 60px;
    }
    #trs26 .ag-event-wrap {
        padding: 0 20px;
    }
    #trs26 .ag-event-info {
        padding: 24px 22px 22px;
        border-radius: 14px;
    }
    #trs26 .ag-event-info__date {
        font-size: 24px;
    }
    #trs26 .ag-event-info__time {
        font-size: 16px;
    }
    #trs26 .ag-event-map #map-desktop {
        height: 320px;
    }
    #trs26 .ag-event-nav {
        flex-direction: column;
        gap: 8px;
    }
    #trs26 .ag-event-nav__next { text-align: left; margin-left: 0; }
}

/* ============================================================
   AG ACTIVITATS — Single activity (extends ag-event-* layout)
   ============================================================ */

/* Stacked centered variant — title + content above gallery, info below */
#trs26.ag-event-section--intro {
    padding: 56px 0 16px;
}
#trs26 .ag-event-wrap--narrow {
    max-width: 820px;
}
#trs26 .ag-event-wrap--medium {
    max-width: 1000px;
}

/* Multiple "negocios" stacked vertically in the right column (sticky group) */
#trs26 .ag-event-info-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 110px;
    align-self: start;
}
#trs26 .ag-event-info-stack > .ag-event-info {
    position: static;
    top: auto;
}

/* Stack standalone (no content column): centered, not sticky */
#trs26 .ag-event-info-stack--centered {
    max-width: 500px;
    margin: 0 auto;
    position: static;
}
#trs26 .ag-event-info--card {
    position: static;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
}
#trs26 .ag-event-info--card .ag-event-info__cta {
    margin-top: auto;
}

#trs26 .ag-single-event-title--centered {
    display: block;
    text-align: center;
    margin: 0 0 18px;
    color: #1d1d4b;
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

#trs26 .ag-event-resum--centered {
    text-align: center;
    margin: 0 auto 18px !important;
    max-width: 720px;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    color: #1d1d4b;
}

#trs26 .ag-event-body--centered {
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #222;
}
#trs26 .ag-event-body--centered p {
    margin: 0 0 14px;
}

#trs26 .ag-event-info--centered {
    position: static;
    margin: 0 auto;
    max-width: 720px;
}
#trs26 .ag-event-info--centered .ag-event-info__heading {
    justify-content: center;
    text-align: center;
}
#trs26 .ag-event-info--centered .ag-event-info__group-title {
    text-align: center;
}
#trs26 .ag-event-info--centered .ag-event-info__text {
    text-align: center;
}

@media (max-width: 640px) {
    #trs26.ag-event-section--intro {
        padding: 36px 0 8px;
    }
    #trs26 .ag-single-event-title--centered {
        font-size: 28px;
    }
    #trs26 .ag-event-resum--centered {
        font-size: 16px;
    }
}


/* Leaf-activity resum + body intro */
#trs26 .ag-event-resum {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    color: #1d1d4b;
    margin: 24px 0 8px;
}

/* Intro block on category branch */
#trs26 .ag-event-intro {
    margin: 0 0 32px;
    font-family: 'DM Sans', sans-serif;
    color: #222;
}
#trs26 .ag-event-intro__lead {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55;
    color: #1d1d4b;
    margin: 0 0 12px;
}
#trs26 .ag-event-intro__text {
    font-size: 16px;
    line-height: 1.65;
}
#trs26 .ag-event-intro__text p { margin: 0 0 12px; }

/* Info-card heading + group dividers */
#trs26 .ag-event-info__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'KoHo', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 16px;
}
#trs26 .ag-event-info__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(143, 200, 201, 1);
}
#trs26 .ag-event-info__group + .ag-event-info__divider,
#trs26 .ag-event-info__divider + .ag-event-info__group { margin-top: 4px; }

#trs26 .ag-event-info__group-title {
    font-family: 'KoHo', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d4b;
    text-align: center;
    margin: 0 0 8px;
}

#trs26 .ag-event-info__text {
    font-family: 'DM Sans', sans-serif;
    font-size: 14.5px;
    line-height: 1.55;
    color: rgba(29, 29, 75, 0.85);
    margin-bottom: 8px;
}
#trs26 .ag-event-info__text p { margin: 0 0 8px; }

/* Category-branch — child activities grid */
#trs26 .ag-activitats-children {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
#trs26 .ag-activitats-child { position: relative; }
#trs26 .ag-activitats-child__link {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#trs26 .ag-activitats-child__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
#trs26 .ag-activitats-child__img,
#trs26 .ag-activitats-child__link img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#trs26 .ag-activitats-child__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(to top, rgba(29, 29, 75, 0.85) 0%, rgba(29, 29, 75, 0.35) 50%, transparent 100%);
    color: #fff;
}
#trs26 .ag-activitats-child__title {
    font-family: 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 4px;
    color: #fff;
    text-transform: uppercase;
}
#trs26 .ag-activitats-child__sub {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

@media (max-width: 980px) {
    #trs26 .ag-activitats-children {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (max-width: 640px) {
    #trs26 .ag-activitats-children {
        grid-template-columns: 1fr;
    }
    #trs26 .ag-event-info__heading { font-size: 18px; }
    #trs26 .ag-event-info__group-title { font-size: 16px; }
}

/* ============================================================
   AG EVENT EXTRAS — Stars, serveis, extra carousel, related
   (used in single-allotjaments / single-shopping / single-restauracio)
   ============================================================ */

/* Stars rating inside info card */
#trs26 .ag-event-info__stars {
    display: flex;
    gap: 3px;
    margin: 6px 0 14px;
    color: rgba(143, 200, 201, 1);
}
#trs26 .ag-event-info__stars svg { display: block; }

/* "Principals serveis" block */
#trs26 .ag-event-serveis {
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(29, 29, 75, 0.12);
}
#trs26 .ag-event-serveis__title {
    font-family: 'KoHo', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    margin: 0 0 20px;
}
#trs26 .ag-event-serveis__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: #222;
}
#trs26 .ag-event-serveis__list li {
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}
#trs26 .ag-event-serveis__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(143, 200, 201, 1);
}
@media (max-width: 900px) {
    #trs26 .ag-event-serveis__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    #trs26 .ag-event-serveis__list { grid-template-columns: 1fr; }
}

/* Extra gallery carousel (more than 4 images) */
#trs26 .ag-event-extra-carousel {
    margin-top: 56px;
}
#trs26 .ag-event-extra-carousel .owl-carousel .item {
    border-radius: 14px;
    overflow: hidden;
}
#trs26 .ag-event-extra-carousel .owl-carousel .item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
#trs26 .ag-event-extra-carousel__cta {
    text-align: center;
    margin-top: 28px;
}
#trs26 .ag-event-extra-carousel__cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #1d1d4b;
    color: #fff;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
#trs26 .ag-event-extra-carousel__cta a:hover {
    background: rgba(143, 200, 201, 1);
    color: #1d1d4b;
}

/* Related items carousel */
#trs26.ag-event-section--related {
    background: #f8f8f8;
    padding: 64px 0;
    margin-top: 40px;
}
#trs26 .ag-event-related__title {
    font-family: 'KoHo', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 32px;
}
#trs26 .ag-event-related .item { padding: 0 6px; }
#trs26 .ag-event-related__card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
#trs26 .ag-event-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
#trs26 .ag-event-related__card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#trs26 .ag-event-related__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(29, 29, 75, 0.85) 0%, rgba(29, 29, 75, 0.35) 50%, transparent 100%);
    color: #fff;
}
#trs26 .ag-event-related__name {
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #fff;
    text-transform: uppercase;
}
#trs26 .ag-event-related__stars {
    display: flex;
    gap: 2px;
    color: rgba(143, 200, 201, 1);
}

/* ============================================================
   AG EVENT — Stacked variant for sparse fichas (restauracio,
   shopping, allotjaments): centered title + 2-col grid with
   gallery slider + info card (max 500px)
   ============================================================ */

#trs26 .ag-event-info--narrow {
    max-width: 500px;
    margin: 0 auto;
    position: static;
    align-self: center;
}

/* In-grid gallery slider — single image visible, with nav arrows + dots */
#trs26 .ag-event-img-slider {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3f3f3;
    /* Override Owl's default `.owl-carousel { display: none }` so the slider
       remains visible even if Owl JS fails to init for any reason. */
    display: block;
    /* Fixed height — robust against Owl's internal float/clear behavior
       which can otherwise let .owl-stage drive the height. */
    height: 480px;
}
/* Show only the first slide while owl is still loading (avoid stacked) */
#trs26 .ag-event-img-slider:not(.owl-loaded) .ag-event-img-slide ~ .ag-event-img-slide {
    display: none;
}
/* Restore Owl Carousel defaults broken by the #trs26 * { float: none } reset */
#trs26 .ag-event-img-slider .owl-stage-outer {
    position: relative;
    overflow: hidden;
    height: 100%;
}
#trs26 .ag-event-img-slider .owl-stage {
    position: relative;
    height: 100%;
}
#trs26 .ag-event-img-slider .owl-item {
    float: left;
    position: relative;
    min-height: 1px;
    height: 100%;
}
#trs26 .ag-event-img-slider .ag-event-img-slide {
    width: 100%;
    height: 100%;
}
#trs26 .ag-event-img-slider .ag-event-img-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block !important;
    max-width: none;
    max-height: none;
}

@media (max-width: 980px) {
    #trs26 .ag-event-img-slider { height: 420px; }
}
@media (max-width: 640px) {
    #trs26 .ag-event-img-slider { height: 300px; }
}

/* Custom nav arrows + dots — the bundled Owl 2.1.6 core has no
   Navigation plugin, so nav/dots options are ignored. We render
   custom controls in HTML and wire them to Owl's public events. */
#trs26 .ag-event-img-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1d1d4b;
    border: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, transform 0.15s ease;
}
#trs26 .ag-event-img-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}
#trs26 .ag-event-img-arrow--prev { left: 14px; }
#trs26 .ag-event-img-arrow--next { right: 14px; }
#trs26 .ag-event-img-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #1d1d4b;
    display: block;
}

#trs26 .ag-event-img-dots {
    position: absolute;
    bottom: 14px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
#trs26 .ag-event-img-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}
#trs26 .ag-event-img-dot.is-active,
#trs26 .ag-event-img-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Section--map: standalone map embed full width */
#trs26.ag-event-section--map {
    padding: 40px 0 80px;
}
#trs26.ag-event-section--map .ag-event-map {
    max-width: 1400px;
    margin: 0 auto;
}

/* Flexslider override inside ag-event-img */
#trs26 .ag-event-img.flexslider {
    margin: 0;
    border: 0;
    background: #f3f3f3;
    border-radius: 18px;
    box-shadow: none;
}
#trs26 .ag-event-img.flexslider .slides > li {
    aspect-ratio: 4 / 3;
}
#trs26 .ag-event-img.flexslider .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#trs26 .ag-event-img.flexslider .flex-control-nav {
    bottom: 12px;
    z-index: 3;
}

/* ============================================================
   QUÈ VISITAR — Categories grid
   ============================================================ */
/* ============================================================
   SECTION BASES UNIFICATS — full width white sections
   Aplica a: qv-grid / qf-grid / ac-content / al-content / om-content
            / ce-descobreix / ca-content / ca-sections
   ============================================================ */
#trs26.qv-grid-section,
#trs26.qf-grid-section,
#trs26.ac-content-section,
#trs26.al-content-section,
#trs26.om-content-section,
#trs26.ce-descobreix-section,
#trs26.ca-content-section,
#trs26.ca-sections-section {
    width: 100%;
    background: #fff;
    box-sizing: border-box;
}

/* Per-section padding overrides */
#trs26.qv-grid-section {
    padding: 90px 0 100px;
}

/* ============================================================
   SECTION WRAPPERS UNIFICATS — centered + max-width + padding
   ============================================================ */
#trs26 .qv-grid-wrap,
#trs26 .ac-content-wrap,
#trs26 .al-content-wrap,
#trs26 .al-single-wrap,
#trs26 .om-content-wrap,
#trs26 .ce-descobreix-wrap,
#trs26 .ca-content-wrap,
#trs26 .ca-sections-wrap {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

#trs26 .qv-grid-wrap {
    max-width: 1700px;
    padding: 0 80px;
}

/* ============================================================
   SECTION INTROS UNIFICATS — centered title + description
   Aplica a: qv / al / ac / om / ce-descobreix / ca
   ============================================================ */

#trs26 .qv-intro,
#trs26 .al-intro,
#trs26 .ac-intro,
#trs26 .om-intro,
#trs26 .ce-descobreix-intro,
#trs26 .ca-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

#trs26 .qv-intro-title,
#trs26 .al-intro-title,
#trs26 .ac-intro-title,
#trs26 .om-intro-title,
#trs26 .ce-descobreix-title,
#trs26 .ca-intro-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #1d1d4b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 0;
}

#trs26 .qv-intro-desc,
#trs26 .al-intro-desc,
#trs26 .ac-intro-desc,
#trs26 .om-intro-desc,
#trs26 .ce-descobreix-desc,
#trs26 .ca-intro-desc {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #55575c;
    margin: 0;
    padding: 0;
}

#trs26 .ac-intro-desc p,
#trs26 .al-intro-desc p,
#trs26 .om-intro-desc p {
    margin: 0;
    padding: 0;
}

#trs26 .qv-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    justify-content: center;
    gap: 40px 30px;
    margin-bottom: 60px;
}

/* 4-column variant — taxonomy category pages */
#trs26 .qv-grid--4col {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    gap: 28px 24px;
}

/* ============================================================
   CARDS UNIFICATS — Image overlay cards (all sections)
   Aplica a: qv / qf / ac / al / ce-desc / home-cat
   ============================================================ */

/* Card base */
#trs26 .qv-card,
#trs26 .qf-card,
#trs26 .ac-card,
#trs26 .al-card,
#trs26 .ce-desc-card,
#trs26 .home-cat-card {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background-color: #1d1f22;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Hover */
#trs26 .qv-card:hover,
#trs26 .qf-card:hover,
#trs26 .ac-card:hover,
#trs26 .al-card:hover,
#trs26 .ce-desc-card:hover,
#trs26 .home-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

/* Overlay (gradient bottom) */
#trs26 .qv-card-overlay,
#trs26 .qf-card-overlay,
#trs26 .ac-card-overlay,
#trs26 .al-card-overlay,
#trs26 .ce-desc-card-overlay,
#trs26 .home-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 80%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Bottom content (absolute) — qv / qf / ac / al */
#trs26 .qv-card-content,
#trs26 .qf-card-content,
#trs26 .ac-card-content,
#trs26 .al-card-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
}

/* Bottom footer (flex) — ce-desc / home-cat */
#trs26 .ce-desc-card-footer,
#trs26 .home-cat-footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
}

/* Card title (in absolute content) */
#trs26 .qv-card-title,
#trs26 .qf-card-title,
#trs26 .ac-card-title,
#trs26 .al-card-title {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0;
    padding: 0;
}

/* Label (in flex footer) */
#trs26 .ce-desc-card-label,
#trs26 .home-cat-label {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* Eye icon — absolute (qv/qf/ac/al) */
#trs26 .qv-card-eye,
#trs26 .qf-card-eye,
#trs26 .ac-card-eye,
#trs26 .al-card-eye {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.25s ease;
}

/* Eye icon — flex inside footer (ce-desc/home-cat) */
#trs26 .ce-desc-card-eye,
#trs26 .home-cat-eye {
    flex-shrink: 0;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

/* Eye hover */
#trs26 .qv-card:hover .qv-card-eye,
#trs26 .qf-card:hover .qf-card-eye,
#trs26 .ac-card:hover .ac-card-eye,
#trs26 .al-card:hover .al-card-eye,
#trs26 .ce-desc-card:hover .ce-desc-card-eye,
#trs26 .home-cat-card:hover .home-cat-eye {
    background: #f1f1f1;
}

/* ──────────────────────────────────────────────────────────── */
/* Per-card variations (sizing, padding, font-sizes) */
/* ──────────────────────────────────────────────────────────── */

/* qv variations */
#trs26 .qv-card {
    min-height: 400px;
    border-radius: 24px;
}

#trs26 .qv-card-content {
    padding: 30px 75px 25px 30px;
}

#trs26 .qv-card-title {
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
}

#trs26 .qv-card-sub {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 4px;
    padding: 0;
}

#trs26 .qv-card-desc {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    padding: 0;
}

#trs26 .qv-card-eye {
    right: 22px;
    bottom: 25px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(6px);
}

#trs26 .qv-card:hover .qv-card-eye {
    background: rgba(255, 255, 255, 1);
}

/* ============================================================
   CTA BUTTONS UNIFICATS — Pill teal style
   Aplica a: qv / qf / ac / al / al-single / om / ce-intro / ca-search / home (--teal)
   ============================================================ */

/* CTA wrapper (centered text container) */
#trs26 .qv-cta-wrap,
#trs26 .qf-cta-wrap,
#trs26 .ac-cta-wrap,
#trs26 .al-cta-wrap,
#trs26 .al-single-cta-wrap,
#trs26 .om-cta-wrap {
    text-align: center;
    margin-top: 30px;
}

/* CTA base — all teal pill buttons */
#trs26 .qv-cta-btn,
#trs26 .qf-cta-btn,
#trs26 .ac-cta-btn,
#trs26 .al-cta-btn,
#trs26 .al-single-cta-btn,
#trs26 .om-cta-btn,
#trs26 .ce-intro-cta,
#trs26 .ca-search-btn,
#trs26 .home-cta-btn--teal {
    display: inline-block;
    background: #049ba9;
    color: #fff;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

/* CTA hover — all */
#trs26 .qv-cta-btn:hover,
#trs26 .qf-cta-btn:hover,
#trs26 .ac-cta-btn:hover,
#trs26 .al-cta-btn:hover,
#trs26 .al-single-cta-btn:hover,
#trs26 .om-cta-btn:hover,
#trs26 .ce-intro-cta:hover,
#trs26 .ca-search-btn:hover,
#trs26 .home-cta-btn--teal:hover {
    background: #037c88;
    transform: translateY(-2px);
    color: #fff;
}

/* qv variation */
#trs26 .qv-cta-btn {
    padding: 14px 34px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1200px) {
    #trs26.qv-grid-section {
        padding: 70px 0 80px;
    }
    #trs26 .qv-grid-wrap {
        padding: 0 50px;
    }
    #trs26 .qv-grid {
        gap: 22px;
    }
    #trs26 .qv-card {
        min-height: 320px;
    }
    #trs26 .qv-intro-title {
        font-size: 28px;
    }
}

@media (max-width: 1100px) {
    #trs26 .qv-grid--4col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    #trs26 .qv-grid {
        grid-template-columns: repeat(2, 280px);
    }
    #trs26 .qv-grid--4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #trs26.qv-grid-section {
        padding: 50px 0 60px;
    }
    #trs26 .qv-grid-wrap {
        padding: 0 24px;
    }
    #trs26 .qv-intro {
        margin-bottom: 40px;
    }
    #trs26 .qv-intro-title {
        font-size: 24px;
    }
    #trs26 .qv-intro-desc {
        font-size: 15px;
    }
    /* Cards grid → horizontal slider */
    #trs26 .qv-grid,
    #trs26 .qv-grid--4col {
        display: flex;
        grid-template-columns: none;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        scroll-padding-left: 24px;
    }
    #trs26 .qv-grid::-webkit-scrollbar,
    #trs26 .qv-grid--4col::-webkit-scrollbar {
        display: none;
    }
    #trs26 .qv-grid .qv-card,
    #trs26 .qv-grid--4col .qv-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-width: 0;
        min-height: 0;
        aspect-ratio: 3 / 4;
    }
    #trs26 .qv-card-title {
        font-size: 20px;
    }
    #trs26 .qv-cta-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* ============================================================
   QUÈ FER — Hero
   → Veure bloc "HERO UNIFICAT" més amunt
   ============================================================ */

/* ============================================================
   QUÈ FER — Categories grid
   ============================================================ */
#trs26.qf-grid-section {
    padding: 90px 0 100px;
}

#trs26 .qf-grid-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

#trs26 .qf-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 60px;
}

#trs26 .qf-intro-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 34px;
    font-weight: 900;
    color: #1d1f22;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 18px;
    padding: 0;
}

#trs26 .qf-intro-desc {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #55575c;
    margin: 0;
    padding: 0;
}

#trs26 .qf-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: start;
    gap: 24px;
    margin-bottom: 60px;
}

/* qf variations */
#trs26 .qf-card {
    aspect-ratio: 3 / 4;
}

#trs26 .qf-card-content {
    padding: 20px 22px 22px;
}

#trs26 .qf-card-title {
    font-size: 16px;
    margin-bottom: 4px;
}

#trs26 .qf-card-sub {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
}

#trs26 .qf-card-eye {
    right: 16px;
    bottom: 16px;
    width: 30px;
    height: 30px;
}

#trs26 .qf-cta-wrap {
    text-align: center;
    margin-top: 40px;
}

#trs26 .qf-cta-btn {
    padding: 14px 48px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1200px) {
    #trs26.qf-grid-section {
        padding: 70px 0 80px;
    }
    #trs26 .qf-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    #trs26 .qf-intro-title {
        font-size: 28px;
    }
}

@media (max-width: 900px) {
    #trs26 .qf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    #trs26.qf-grid-section {
        padding: 50px 0 60px;
    }
    #trs26 .qf-grid-wrap {
        padding: 0 24px;
    }
    #trs26 .qf-intro {
        margin-bottom: 40px;
    }
    #trs26 .qf-intro-title {
        font-size: 24px;
    }
    #trs26 .qf-intro-desc {
        font-size: 15px;
    }
    #trs26 .qf-card-title {
        font-size: 14px;
    }
    #trs26 .qf-cta-btn {
        padding: 12px 36px;
        font-size: 14px;
    }
}

/* Cards grid → horizontal slider on mobile */
@media (max-width: 767px) {
    #trs26 .qf-grid {
        display: flex;
        grid-template-columns: none;
        justify-content: flex-start;
        gap: 12px;
        margin-bottom: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        scroll-padding-left: 24px;
    }
    #trs26 .qf-grid::-webkit-scrollbar {
        display: none;
    }
    #trs26 .qf-grid .qf-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-width: 0;
    }
}

/* ============================================================
   ACTIVITATS — Single/Taxonomy Hero
   → Veure bloc "HERO UNIFICAT" més amunt
   ============================================================ */

/* ============================================================
   ALLOTJAMENTS — Hero
   → Veure bloc "HERO UNIFICAT" més amunt
   ============================================================ */

/* ============================================================
   ACTIVITATS — Content (breadcrumb + intro + grid + CTA)
   ============================================================ */
#trs26.ac-content-section {
    padding: 40px 0 100px;
}

#trs26 .ac-content-wrap {
    max-width: 1400px;
    padding: 0 40px;
}

/* ============================================================
   BREADCRUMBS UNIFICATS — chevron `›` style
   Aplica a: ac / al / om / qvs
   ============================================================ */

#trs26 .ac-breadcrumb,
#trs26 .al-breadcrumb,
#trs26 .om-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1d1d4b;
    flex-wrap: wrap;
}

#trs26 .ac-breadcrumb a,
#trs26 .al-breadcrumb a,
#trs26 .om-breadcrumb a {
    color: #1d1d4b;
    text-decoration: none;
    transition: color 0.25s ease;
}

#trs26 .ac-breadcrumb a:hover,
#trs26 .al-breadcrumb a:hover,
#trs26 .om-breadcrumb a:hover {
    color: #049ba9;
}

#trs26 .ac-bc-chev,
#trs26 .al-bc-chev,
#trs26 .om-bc-chev {
    color: #1d1d4b;
    font-size: 16px;
    line-height: 1;
    display: inline-block;
}

#trs26 .ac-bc-current,
#trs26 .om-bc-current {
    color: #1d1d4b;
}

/* ac variation */
#trs26 .ac-breadcrumb {
    margin-bottom: 60px;
}

/* ac intro variation */
#trs26 .ac-intro {
    margin-bottom: 50px;
}

/* Grid */
#trs26 .ac-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto 50px auto;
    /* max-width: 1000px; */
}

/* ac variations */
#trs26 .ac-card {
    min-height: 350px;
}

#trs26 .ac-card--wide {
    grid-column: span 2;
}

#trs26 .ac-card-content {
    padding: 22px 26px 24px;
}

#trs26 .ac-card-title {
    font-size: 17px;
    max-width: calc(100% - 48px);
}

#trs26 .ac-card-eye {
    right: 18px;
    bottom: 18px;
    width: 32px;
    height: 32px;
}

/* CTA */
#trs26 .ac-cta-wrap {
    text-align: center;
    margin-top: 30px;
}

#trs26 .ac-cta-btn {
    padding: 14px 48px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1200px) {
    #trs26.ac-content-section {
        padding: 30px 0 80px;
    }
    #trs26 .ac-intro-title {
        font-size: 28px;
    }
    #trs26 .ac-grid {
        gap: 20px;
    }
    #trs26 .ac-card {
        min-height: 300px;
    }
}

@media (max-width: 900px) {
    #trs26 .ac-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #trs26 .ac-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    #trs26.ac-content-section {
        padding: 24px 0 60px;
    }
    #trs26 .ac-content-wrap {
        padding: 0 24px;
    }
    #trs26 .ac-breadcrumb {
        margin-bottom: 36px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    #trs26 .ac-intro {
        margin-bottom: 36px;
    }
    #trs26 .ac-intro-title {
        font-size: 24px;
    }
    #trs26 .ac-intro-desc {
        font-size: 15px;
    }
    #trs26 .ac-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 36px;
    }
    #trs26 .ac-card--wide {
        grid-column: span 1;
    }
    #trs26 .ac-card {
        min-height: 260px;
    }
    #trs26 .ac-card-title {
        font-size: 15px;
    }
    #trs26 .ac-cta-btn {
        padding: 12px 36px;
        font-size: 14px;
    }
}

/* ==========================================================================
   AL — Allotjaments directory content (archive-allotjaments.php)
   ========================================================================== */
#trs26.al-content-section {
    padding: 80px 0 100px;
}

#trs26 .al-content-wrap {
    max-width: 1200px;
    padding: 0 40px;
}

/* al intro variation */
#trs26 .al-intro-title {
    margin-bottom: 24px;
}

/* Grid */
#trs26 .al-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 auto 60px;
}

/* al variations */
#trs26 .al-card {
    aspect-ratio: 3 / 4;
}

#trs26 .al-card-content {
    padding: 22px 26px 24px;
}

#trs26 .al-card-title {
    font-size: 22px;
    line-height: 1.15;
    margin-bottom: 8px;
    max-width: calc(100% - 48px);
}

#trs26 .al-card-subtitle {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    padding: 0;
    max-width: calc(100% - 48px);
    opacity: 0.95;
}

#trs26 .al-card-eye {
    right: 18px;
    bottom: 18px;
    width: 32px;
    height: 32px;
}

/* CTA */
#trs26 .al-cta-wrap {
    text-align: center;
    margin-top: 30px;
}

#trs26 .al-cta-btn {
    padding: 14px 48px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.al-content-section {
        padding: 60px 0 80px;
    }
    #trs26 .al-intro-title {
        font-size: 28px;
    }
    #trs26 .al-grid {
        gap: 22px;
    }
    #trs26 .al-card-title {
        font-size: 20px;
    }
}

@media (max-width: 820px) {
    #trs26 .al-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #trs26.al-content-section {
        padding: 40px 0 60px;
    }
    #trs26 .al-content-wrap {
        padding: 0 24px;
    }
    #trs26 .al-intro {
        margin-bottom: 36px;
    }
    #trs26 .al-intro-title {
        font-size: 24px;
    }
    #trs26 .al-intro-desc {
        font-size: 15px;
    }
    #trs26 .al-card-title {
        font-size: 18px;
    }
    #trs26 .al-card-subtitle {
        font-size: 13px;
    }
    #trs26 .al-cta-btn {
        padding: 12px 36px;
        font-size: 14px;
    }
}

/* Cards grid → horizontal slider on mobile */
@media (max-width: 767px) {
    #trs26 .al-grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        margin-bottom: 36px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        margin-left: -24px;
        margin-right: -24px;
        padding-left: 24px;
        padding-right: 24px;
        scroll-padding-left: 24px;
    }
    #trs26 .al-grid::-webkit-scrollbar {
        display: none;
    }
    #trs26 .al-grid .al-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        min-width: 0;
        aspect-ratio: 3 / 4;
    }
}

/* ==========================================================================
   AL — Allotjaments taxonomy single (taxonomy-category_allotjaments.php)
   ========================================================================== */
#trs26.al-single-section {
    width: 100%;
    background: #fff;
    padding: 40px 0 100px;
    box-sizing: border-box;
}

#trs26 .al-single-wrap {
    max-width: 1400px;
    padding: 0 60px;
}

/* al breadcrumb variation */
#trs26 .al-breadcrumb {
    margin-bottom: 60px;
}

/* Intro */
#trs26 .al-single-intro {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 70px;
}

#trs26 .al-single-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: #1d1d4b;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 24px;
    padding: 0;
}

#trs26 .al-single-desc {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: #55575c;
}

#trs26 .al-single-desc p {
    margin: 0;
    padding: 0;
}

/* List */
#trs26 .al-list {
    margin: 0 auto 50px;
    max-width: 1300px;
}

#trs26 .al-list-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.5fr) auto;
    align-items: center;
    gap: 30px;
    padding: 24px 10px;
    border-bottom: 1px solid #d9d9d9;
}

#trs26 .al-list-row:last-child {
    border-bottom: 1px solid #d9d9d9;
}

#trs26 .al-list-name {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1d1d4b;
    letter-spacing: 0.01em;
}

#trs26 .al-list-name a {
    color: #1d1d4b;
    text-decoration: none;
    transition: color 0.2s ease;
}

#trs26 .al-list-name a:hover {
    color: #049ba9;
}

#trs26 .al-list-addr {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #55575c;
}

#trs26 .al-list-pin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #049ba9;
    text-decoration: none;
    transition: color 0.2s ease;
}

#trs26 a.al-list-pin:hover {
    color: #037c88;
}

#trs26 .al-list-pin--muted {
    color: #c7c9cc;
}

#trs26 .al-list-addr-txt {
    line-height: 1.4;
}

#trs26 .al-list-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: flex-end;
}

#trs26 .al-list-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #049ba9;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

#trs26 .al-list-icon:hover {
    color: #037c88;
    transform: translateY(-1px);
}

/* CTA */
#trs26 .al-single-cta-wrap {
    text-align: center;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

#trs26 .al-single-cta-wrap::before {
    content: '';
    display: none;
}

#trs26 .al-single-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 40px 14px 30px;
    font-size: 15px;
    letter-spacing: 0.02em;
}

#trs26 .al-single-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.al-single-section {
        padding: 30px 0 80px;
    }
    #trs26 .al-single-wrap {
        padding: 0 40px;
    }
    #trs26 .al-single-title {
        font-size: 32px;
    }
    #trs26 .al-list-row {
        gap: 20px;
    }
}

@media (max-width: 820px) {
    /* Mobile card layout: name + addr + icons, all centered */
    #trs26 .al-list-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 8px;
    }
    #trs26 .al-list-name {
        text-align: center;
    }
    #trs26 .al-list-addr {
        margin-top: 2px;
        justify-content: center;
        text-align: center;
    }
    /* Hide pin icon next to address (icons row below covers nav) */
    #trs26 .al-list-pin {
        display: none;
    }
    #trs26 .al-list-actions {
        margin-top: 10px;
        justify-content: center;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    #trs26.al-single-section {
        padding: 24px 0 60px;
    }
    #trs26 .al-single-wrap {
        padding: 0 24px;
    }
    #trs26 .al-breadcrumb {
        margin-bottom: 36px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    #trs26 .al-single-intro {
        margin-bottom: 40px;
    }
    #trs26 .al-single-title {
        font-size: 26px;
    }
    #trs26 .al-single-desc {
        font-size: 15px;
    }
    #trs26 .al-list {
        margin-bottom: 30px;
    }
    #trs26 .al-single-cta-btn {
        padding: 12px 28px 12px 22px;
        font-size: 14px;
    }
}

/* ==========================================================================
   OM — On menjar hero (archive-restauracio.php)
   → Veure bloc "HERO UNIFICAT" més amunt
   ========================================================================== */

/* ==========================================================================
   OM — On menjar content (archive-restauracio.php)
   ========================================================================== */
#trs26.om-content-section {
    padding: 40px 0 100px;
}

#trs26 .om-content-wrap {
    max-width: 1400px;
    padding: 0 60px;
}

/* om breadcrumb variation */
#trs26 .om-breadcrumb {
    margin-bottom: 50px;
}

/* om intro variation */
#trs26 .om-intro-title {
    font-size: 40px;
    margin-bottom: 24px;
}

/* Filter bar */
#trs26 .om-filter {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

#trs26 .om-filter-fields {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1 1 auto;
    flex-wrap: wrap;
}

#trs26 .om-filter-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

#trs26 .om-filter-field label {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1d4b;
    white-space: nowrap;
    margin: 0;
}

/* ============================================================
   FORM INPUTS UNIFICATS — pill-style search inputs/selects
   Aplica a: om-filter / ca-search
   ============================================================ */

/* Inputs (text + select) base */
#trs26 .om-filter-input,
#trs26 .om-filter-select,
#trs26 .ca-search-input,
#trs26 .ca-search-select {
    border: 1.5px solid #d9d9d9;
    border-radius: 999px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

#trs26 .om-filter-input,
#trs26 .ca-search-input {
    color: #1d1d4b;
}

#trs26 .om-filter-select,
#trs26 .ca-search-select {
    color: #55575c;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

#trs26 .om-filter-input:focus,
#trs26 .om-filter-select:focus,
#trs26 .ca-search-input:focus,
#trs26 .ca-search-select:focus {
    border-color: #049ba9;
}

/* Select wrap with custom chevron */
#trs26 .om-filter-select-wrap,
#trs26 .ca-search-select-wrap {
    position: relative;
}

#trs26 .om-filter-select-wrap::after,
#trs26 .ca-search-select-wrap::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #55575c;
    pointer-events: none;
}

/* om variations (smaller, 42px) */
#trs26 .om-filter-input {
    height: 42px;
    padding: 0 16px;
    min-width: 160px;
}

#trs26 .om-filter-select {
    height: 42px;
    padding: 0 36px 0 16px;
    min-width: 180px;
}

#trs26 .om-filter-select-wrap::after {
    right: 14px;
}

#trs26 .om-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

#trs26 .om-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 26px;
    border-radius: 999px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

#trs26 .om-filter-btn--dark {
    background: #1d1d4b;
    color: #fff;
}

#trs26 .om-filter-btn--dark:hover {
    background: #13133a;
    color: #fff;
    transform: translateY(-1px);
}

#trs26 .om-filter-btn--teal {
    background: #049ba9;
    color: #fff;
}

#trs26 .om-filter-btn--teal:hover {
    background: #037c88;
    color: #fff;
    transform: translateY(-1px);
}

#trs26 .om-filter-map {
    flex-shrink: 0;
}

#trs26 .om-filter-map-icon {
    display: inline-flex;
    align-items: center;
}

/* Maps */
#trs26 .om-maps {
    margin-bottom: 30px;
}

/* List table */
/* List + table */
#trs26 .om-list {
    margin-bottom: 50px;
}

#trs26 .om-table {
    width: 100%;
    border-collapse: collapse;
}

/* Row */
#trs26 .om-row {
    border-bottom: 1px solid #d9d9d9;
}

#trs26 .om-row:first-child {
    border-top: 1px solid #d9d9d9;
}

#trs26 .om-row td {
    padding: 22px 10px;
    vertical-align: middle;
}

/* Name */
#trs26 td.om-row-name {
    min-width: 220px;
    padding-left: 0;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #1d1d4b;
}

#trs26 td.om-row-name a {
    color: #1d1d4b;
    text-decoration: none;
    transition: color 0.2s ease;
}

#trs26 td.om-row-name a:hover {
    color: #049ba9;
}

#trs26 .om-row-tag {
    display: inline-block;
    margin-left: 10px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #55575c;
    opacity: 0.6;
    vertical-align: middle;
    letter-spacing: 0.02em;
}

/* Address */
#trs26 td.om-row-addr {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    color: #55575c;
}

#trs26 .om-row-addr {
    display: flex;
    align-items: center;
    gap: 12px;
}

#trs26 .om-row-pin {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: #049ba9;
    text-decoration: none;
    transition: color 0.2s ease;
}

#trs26 a.om-row-pin:hover {
    color: #037c88;
}

#trs26 .om-row-pin--muted {
    color: #c7c9cc;
}

#trs26 .om-row-addr-txt {
    line-height: 1.35;
}

/* Icon cells */
#trs26 td.om-row-icon {
    width: 44px;
    text-align: center;
    padding-right: 0;
}

#trs26 .om-row-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #049ba9;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

#trs26 a.om-row-icon-link:hover {
    color: #037c88;
    transform: translateY(-1px);
}

#trs26 .om-row-icon-link--muted {
    color: #c7c9cc;
    cursor: default;
}

/* Spinner loader */
#trs26 #loading td {
    text-align: center;
    padding: 30px 0;
    color: #049ba9;
}

/* CTA */
/* Veure més button */
#trs26 #btn-more {
    text-align: center;
    padding: 40px 0 10px;
}

#trs26 #btn-more a {
    display: inline-block;
    padding: 14px 48px;
    background: #049ba9;
    color: #fff;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 999px;
    transition: background 0.25s ease, transform 0.25s ease;
}

#trs26 #btn-more a:hover {
    background: #037c88;
    transform: translateY(-2px);
    color: #fff;
}

#trs26 .om-cta-wrap {
    text-align: center;
    margin-top: 20px;
}

#trs26 .om-cta-btn {
    padding: 14px 60px;
    font-size: 15px;
    letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.om-content-section {
        padding: 30px 0 80px;
    }
    #trs26 .om-content-wrap {
        padding: 0 40px;
    }
    #trs26 .om-intro-title {
        font-size: 32px;
    }
}

@media (max-width: 820px) {
    /* Filter form: fields stack vertically (label left + input right),
       then a single row with the 3 action buttons below. */
    #trs26 .om-filter {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 14px;
    }
    #trs26 .om-filter-fields {
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    #trs26 .om-filter-field {
        display: flex;
        align-items: center;
        gap: 14px;
    }
    #trs26 .om-filter-field label {
        flex: 0 0 80px;
        min-width: 80px;
    }
    #trs26 .om-filter-input,
    #trs26 .om-filter-select {
        flex: 1;
        width: 100%;
        min-width: 0;
    }
    #trs26 .om-filter-select-wrap {
        flex: 1;
        width: 100%;
    }
    /* Action buttons row: UBICACIÓ + CERCAR + Veure mapa in line */
    #trs26 .om-filter-actions,
    #trs26 .om-filter-map {
        flex: 0 0 auto;
    }
    #trs26 .om-filter-actions {
        gap: 8px;
    }
    #trs26 .om-filter-btn {
        height: 38px;
        padding: 0 18px;
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    #trs26.om-content-section {
        padding: 24px 0 60px;
    }
    #trs26 .om-content-wrap {
        padding: 0 24px;
    }
    #trs26 .om-breadcrumb {
        margin-bottom: 36px;
        font-size: 12px;
        flex-wrap: wrap;
    }
    #trs26 .om-intro {
        margin-bottom: 36px;
    }
    #trs26 .om-intro-title {
        font-size: 26px;
    }
    #trs26 .om-intro-desc {
        font-size: 15px;
    }
    /* Table → stacked cards on mobile: name + addr + 3 centered icons */
    #trs26 .om-table,
    #trs26 .om-table tbody {
        display: block;
        width: 100%;
    }
    #trs26 .om-row {
        display: block;
        padding: 18px 8px;
        border-top: 1px solid #d9d9d9;
        border-bottom: 0;
        text-align: center; /* centers inline-block icon cells below */
    }
    #trs26 .om-row:last-child {
        border-bottom: 1px solid #d9d9d9;
    }
    #trs26 td.om-row-name {
        display: block;
        padding: 0;
        margin-bottom: 4px;
        text-align: center;
        font-size: 14px;
        min-width: 0;
    }
    #trs26 td.om-row-addr {
        display: block;
        padding: 0;
        margin-bottom: 14px;
        text-align: center;
        font-size: 13px;
        justify-content: center;
    }
    /* Hide pin icon next to address */
    #trs26 .om-row-pin {
        display: none;
    }
    /* Icon cells become a centered inline row */
    #trs26 td.om-row-icon {
        display: inline-block;
        padding: 0 18px;
        width: auto;
        vertical-align: middle;
    }
    #trs26 .om-cta-btn {
        padding: 12px 40px;
        font-size: 14px;
    }
    /* "Veure més" load-more row: force block + center under stacked cards */
    #trs26 .om-table tr:not(.om-row) {
        display: block;
        width: 100%;
    }
    #trs26 .om-table tr:not(.om-row) td {
        display: block;
        width: 100%;
        padding: 0;
        text-align: center;
    }
    #trs26 #btn-more,
    #trs26 .view-mre-btn {
        display: block;
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   CE — Castelló d'Empúries full-screen hero (castelloempuriabrava.php)
   ========================================================================== */
#trs26.ce-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #1d1f22;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}

#trs26 .ce-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000000 -11.04%, rgba(115, 115, 115, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

#trs26 .ce-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
    color: #fff;
    text-align: center;
}

#trs26 .ce-hero-title {
    margin: 0;
    padding: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

/* Line 1 — KoHo Bold */
#trs26 .ce-hero-line1 {
    display: block;
    font-family: 'KoHo', sans-serif;
    font-weight: 700;
    font-size: 85px;
    line-height: 120px;
    letter-spacing: 0;
    color: #fff;
    text-transform: uppercase;
}

/* Line 2 — DM Sans Light */
#trs26 .ce-hero-line2 {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 300;
    font-size: 35px;
    letter-spacing: 0.05em;
    color: #fff;
}

@media (max-width: 1200px) {
    #trs26 .ce-hero-line1 {
        font-size: 64px;
        line-height: 88px;
    }
    #trs26 .ce-hero-line2 {
        font-size: 26px;
        line-height: 88px;
    }
    #trs26 .ce-hero-content {
        padding: 0 50px;
    }
}

@media (max-width: 767px) {
    #trs26 .ce-hero-line1 {
        font-size: 42px;
        line-height: 56px;
    }
    #trs26 .ce-hero-line2 {
        font-size: 20px;
        line-height: 48px;
    }
    #trs26 .ce-hero-content {
        padding: 0 28px;
    }
}

/* ==========================================================================
   CE — Intro section (case 'text', white bg, two columns)
   ========================================================================== */
#trs26.ce-intro-section {
    width: 100%;
    background: #fff;
    padding: 100px 0;
    box-sizing: border-box;
}

#trs26 .ce-intro-wrap {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 50% 1fr;
    align-items: start;
}

#trs26 .ce-intro-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    padding-right: 150px;
}

#trs26 .ce-intro-titol {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.55;
    color: #1d1d4b;
}

#trs26 .ce-intro-titol p {
    margin: 0;
    padding: 0;
}

#trs26 .ce-intro-cta {
    padding: 14px 48px;
    font-size: 15px;
    letter-spacing: 0.04em;
}

#trs26 .ce-intro-right {
    padding-top: 4px;
}

#trs26 .ce-intro-text {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #55575c;
}

#trs26 .ce-intro-text p {
    margin: 0 0 20px;
    padding: 0;
}

#trs26 .ce-intro-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    #trs26.ce-intro-section {
        padding: 70px 0;
    }
    #trs26 .ce-intro-wrap {
        padding: 0 50px;
    }
    #trs26 .ce-intro-left {
        padding-right: 60px;
    }
}

@media (max-width: 820px) {
    #trs26 .ce-intro-wrap {
        grid-template-columns: 1fr;
    }
    #trs26 .ce-intro-left {
        padding-right: 0;
    }
}

@media (max-width: 640px) {
    #trs26.ce-intro-section {
        padding: 50px 0;
    }
    #trs26 .ce-intro-wrap {
        padding: 0 24px;
    }
    #trs26 .ce-intro-left {
        padding-right: 0;
        gap: 28px;
    }
    #trs26 .ce-intro-titol {
        font-size: 17px;
    }
    #trs26 .ce-intro-text {
        font-size: 15px;
    }
    #trs26 .ce-intro-cta {
        padding: 12px 36px;
        font-size: 14px;
    }
}

/* ==========================================================================
   CE — Slider section (cases img_text / text_img, dark navy bg)
   ========================================================================== */
#trs26.ce-slider-section {
    width: 100%;
    background: #1d1d4b;
    padding: 80px 0;
    box-sizing: border-box;
    overflow: hidden;
}

#trs26 .ce-slider-wrap {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
}

/* Each slide */
#trs26 .ce-slide {
    display: none;
    grid-template-columns: 42% 1fr;
    gap: 60px;
    align-items: center;
}

#trs26 .ce-slide--active {
    display: grid;
}

/* Left: text + nav */
#trs26 .ce-slide-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#trs26 .ce-slide-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 24px;
    padding: 0;
}

#trs26 .ce-slide-text {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

#trs26 .ce-slide-text p {
    margin: 0 0 14px;
    padding: 0;
}

#trs26 .ce-slide-text p:last-child {
    margin-bottom: 0;
}

/* Nav — in flow below text */
#trs26 .ce-slider-nav {
    display: flex;
    gap: 12px;
    margin-top: 0;
}

#trs26 .ce-slider-prev,
#trs26 .ce-slider-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.25s ease, background 0.25s ease;
    padding: 0;
    flex-shrink: 0;
}

#trs26 .ce-slider-prev:hover,
#trs26 .ce-slider-next:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Right: image with rounded card */
#trs26 .ce-slide-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}

#trs26 .ce-slide-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.ce-slider-section {
        padding: 60px 0;
    }
    #trs26 .ce-slider-wrap {
        padding: 0 50px;
    }
    #trs26 .ce-slide {
        gap: 40px;
    }
    #trs26 .ce-slide-title {
        font-size: 24px;
    }
}

@media (max-width: 820px) {
    #trs26 .ce-slide {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    #trs26 .ce-slide-img-wrap {
        order: -1;
        border-radius: 16px;
    }
    #trs26 .ce-slide-img {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 640px) {
    #trs26.ce-slider-section {
        padding: 50px 0;
    }
    #trs26 .ce-slider-wrap {
        padding: 0 24px;
    }
    #trs26 .ce-slide-title {
        font-size: 20px;
    }
    #trs26 .ce-slide-text {
        font-size: 14px;
        margin-bottom: 28px;
    }
}

/* ==========================================================================
   CE — Descobreix section (allotjaments grid)
   ========================================================================== */
#trs26.ce-descobreix-section {
    padding: 100px 0 120px;
}

#trs26 .ce-descobreix-wrap {
    max-width: 1400px;
    padding: 0 40px;
}

/* ce-descobreix intro variations */
#trs26 .ce-descobreix-intro {
    max-width: 760px;
}

#trs26 .ce-descobreix-title {
    font-size: 40px;
    margin-bottom: 24px;
}

#trs26 .ce-descobreix-desc {
    line-height: 1.7;
}

/* Grid */
#trs26 .ce-descobreix-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Cards */
/* ce-desc variations */
#trs26 .ce-desc-card {
    min-height: 350px;
}

#trs26 .ce-desc-card--wide {
    grid-column: span 2;
    min-height: 300px;
}

#trs26 .ce-desc-card-footer {
    padding: 18px 18px 20px;
    gap: 10px;
}

#trs26 .ce-desc-card-label {
    font-size: 13px;
}

#trs26 .ce-desc-card-eye {
    width: 34px;
    height: 34px;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.ce-descobreix-section {
        padding: 80px 0 100px;
    }
    #trs26 .ce-descobreix-title {
        font-size: 32px;
    }
}

@media (max-width: 820px) {
    #trs26 .ce-descobreix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #trs26 .ce-desc-card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    #trs26.ce-descobreix-section {
        padding: 60px 0 80px;
    }
    #trs26 .ce-descobreix-wrap {
        padding: 0 20px;
    }
    #trs26 .ce-descobreix-title {
        font-size: 26px;
    }
    #trs26 .ce-descobreix-desc {
        font-size: 15px;
    }
    #trs26 .ce-descobreix-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    #trs26 .ce-desc-card--wide {
        grid-column: span 1;
    }
    #trs26 .ce-desc-card {
        min-height: 240px;
    }
}

/* ==========================================================================
   CA — Com arribar content section
   ========================================================================== */
#trs26.ca-content-section {
    padding: 90px 0 80px;
}

#trs26 .ca-content-wrap {
    max-width: 1200px;
    padding: 0 60px;
}

/* ca intro variations */
#trs26 .ca-intro {
    max-width: 740px;
}

#trs26 .ca-intro-title {
    font-size: 36px;
    margin-bottom: 22px;
}

#trs26 .ca-intro-desc {
    line-height: 1.7;
}

/* Search bar */
#trs26 .ca-search-bar {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

#trs26 .ca-search-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#trs26 .ca-search-label {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1d4b;
    letter-spacing: 0.02em;
}

/* ca variations (44px height) */
#trs26 .ca-search-input {
    height: 44px;
    min-width: 180px;
    padding: 0 18px;
}

#trs26 .ca-search-select {
    height: 44px;
    min-width: 220px;
    padding: 0 40px 0 18px;
}

#trs26 .ca-search-select-wrap::after {
    right: 16px;
}

#trs26 .ca-search-btn {
    height: 44px;
    padding: 0 36px;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    align-self: flex-end;
}

/* Transport icon tiles */
#trs26 .ca-transport-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

#trs26 .ca-transport-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: #049ba9;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

#trs26 .ca-transport-tile:hover {
    background: #037c88;
    transform: translateY(-3px);
}

/* Map & directions */
#trs26 .ca-map {
    margin-top: 40px;
    border-radius: 16px;
    overflow: hidden;
}

#trs26 .ca-dir-link {
    display: inline-block;
    margin-top: 14px;
    color: #049ba9;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#trs26 .ca-dir-link:hover {
    color: #037c88;
}

#trs26 .ca-directions-panel {
    margin-top: 20px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1d1d4b;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26.ca-content-section {
        padding: 70px 0 60px;
    }
    #trs26 .ca-content-wrap {
        padding: 0 40px;
    }
}

@media (max-width: 820px) {
    #trs26 .ca-search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    #trs26 .ca-search-input,
    #trs26 .ca-search-select {
        width: 100%;
        min-width: unset;
    }
    #trs26 .ca-search-btn {
        width: 100%;
        height: 46px;
    }
}

@media (max-width: 640px) {
    #trs26.ca-content-section {
        padding: 50px 0 50px;
    }
    #trs26 .ca-content-wrap {
        padding: 0 20px;
    }
    #trs26 .ca-intro-title {
        font-size: 26px;
    }
    #trs26 .ca-intro-desc {
        font-size: 15px;
    }
    #trs26 .ca-transport-tile {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }
    #trs26 .ca-transport-tile svg {
        width: 28px;
        height: 28px;
    }
}

/* ==========================================================================
   CA — Transport content sections (com_arribar loop)
   ========================================================================== */
#trs26.ca-sections-section {
    padding: 20px 0 100px;
}

#trs26 .ca-sections-wrap {
    max-width: 850px;
    padding: 0 25px;
}

/* Each block */
#trs26 .ca-block {
    margin-bottom: 50px;
    scroll-margin-top: 80px;
}

#trs26 .ca-block-title {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: #1d1d4b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1.5px solid #d9d9d9;
}

#trs26 .ca-block-text {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #55575c;
}

#trs26 .ca-block-text p {
    margin: 0 0 16px;
    padding: 0;
}

#trs26 .ca-block-text p:last-child {
    margin-bottom: 0;
}

#trs26 .ca-block-text a {
    color: #1d1d4b;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#trs26 .ca-block-text a:hover {
    color: #049ba9;
}

/* List */
#trs26 .ca-block-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#trs26 .ca-block-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 25px 30px;
    background-color: rgba(239, 239, 239, 1);
    margin-bottom: 20px;
}

#trs26 .ca-block-item:last-child {
    border-bottom: none;
}

#trs26 .ca-block-item-label {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1d1d4b;
    margin: 0;
    padding: 0;
    flex: 1;
}

#trs26 .ca-block-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

#trs26 .ca-block-btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 999px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    min-width: 170px;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

#trs26 .ca-block-btn--teal {
    background: #049ba9;
    color: #fff;
}

#trs26 .ca-block-btn--teal:hover {
    background: #037c88;
    color: #fff;
}

#trs26 .ca-block-btn--dark {
    background: #1d1d4b;
    color: #fff;
}

#trs26 .ca-block-btn--dark:hover {
    background: #13133a;
    color: #fff;
}

#trs26 .ca-block-btn--empty {
    background: transparent;
    color: #13133a;
    border: 1px solid #13133a
}


/* Map & directions */
#trs26 .ca-map {
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 40px;
}

#trs26 .ca-dir-link {
    display: inline-block;
    margin-top: 14px;
    color: #049ba9;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#trs26 .ca-dir-link:hover {
    color: #037c88;
}

#trs26 .ca-directions-panel {
    margin-top: 20px;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    color: #1d1d4b;
}

@media (max-width: 640px) {
    #trs26.ca-sections-section {
        padding: 10px 0 70px;
    }
    #trs26 .ca-sections-wrap {
        padding: 0 20px;
    }
    #trs26 .ca-block-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================================================
   HOME — Full-screen hero slider (home.php)
   ========================================================================== */

/* Hero container */
#trs26.home-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #1d1f22;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Slides — full-screen background, crossfade */
#trs26 .home-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
    z-index: 0;
}

#trs26 .home-slide--active {
    opacity: 1;
}

/* Overlay (above slider, below content) */
#trs26 .home-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Content (title block) — above slides + overlay */
#trs26 .home-hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    box-sizing: border-box;
    pointer-events: none;
}

/* Prev / next arrows */
#trs26 .home-slider-nav {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

#trs26 .home-slider-prev,
#trs26 .home-slider-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.25s ease, background 0.25s ease;
}

#trs26 .home-slider-prev:hover,
#trs26 .home-slider-next:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.12);
}

/* Dot indicators */
#trs26 .home-slider-dots {
    display: none;
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    z-index: 10;
}

#trs26 .home-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#trs26 .home-slider-dot--active {
    background: #fff;
    transform: scale(1.3);
}

/* Line 1 — static "Tu &" */
#trs26 .home-hero-l1 {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 100px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    margin-bottom: 6px;
}

/* Zones wrapper — stacked alternating names */
#trs26 .home-hero-zones {
    position: relative;
    display: block;
    line-height: 1;
}

/* Each zone name (only one visible at a time) */
#trs26 .home-hero-zone {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-weight: 900;
    font-size: 100px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 24px rgba(0,0,0,0.35);
    /*white-space: nowrap;*/
    /* Default: hidden, waiting below */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    /* Stack siblings on top of the first */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 40px);
}

/* First zone defines the wrapper height (relative positioning) */
#trs26 .home-hero-zone:first-child {
    position: relative;
    left: auto;
    transform: translateY(40px);
}

/* Active zone: visible at center, slight enter delay */
#trs26 .home-hero-zone.is-active {
    opacity: 1;
    transform: translate(-50%, 0);
    transition-delay: 0.15s;
}

#trs26 .home-hero-zone:first-child.is-active {
    transform: translateY(0);
}

/* Leaving zone: slides up & fades out */
#trs26 .home-hero-zone.is-leaving {
    opacity: 0;
    transform: translate(-50%, -40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#trs26 .home-hero-zone:first-child.is-leaving {
    transform: translateY(-40px);
}

/* Owl dots (overrides via dotsClass option) */
#trs26 .home-hero-slider .home-hero-dots {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    margin: 0;
}

#trs26 .home-hero-slider .home-hero-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

#trs26 .home-hero-slider .home-hero-dot:hover {
    background: rgba(255,255,255,0.7);
}

#trs26 .home-hero-slider .home-hero-dot.active {
    background: #fff;
    transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1200px) {
    #trs26 .home-hero-l1 { font-size: 54px; }
    #trs26 .home-hero-zone { font-size: 90px; }
}

@media (max-width: 767px) {
    #trs26 .home-hero-content { padding: 0 28px; }
    #trs26 .home-hero-l1 { font-size: 32px; }
    #trs26 .home-hero-zone { font-size: 44px; }
    #trs26 .home-hero-slider .home-hero-dots { bottom: 26px; }
}

/* ==========================================================================
   HOME — Split section: Agenda + Categories (home.php)
   ========================================================================== */
#trs26.home-split-section {
    width: 100%;
    background: #fff;
    padding: 80px 0 100px;
    box-sizing: border-box;
}

#trs26 .home-split-wrap {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 100px;
    align-items: start;
}

/* ── LEFT: Agenda ── */
#trs26 .home-agenda-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#trs26 .home-agenda-title {
    font-family: 'KoHo', sans-serif;
    font-size: 0;
    margin: 0 0 28px;
    padding: 0;
    line-height: 1.5;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

#trs26 .home-agenda-title-bold {
    font-size: 47px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

#trs26 .home-agenda-title-year {
    font-size: 47px;
    font-weight: 300;
    color: #1d1d4b;
    letter-spacing: 0.01em;
}

/* ── Custom agenda list (Tribe widget override → activitat-lst) ── */
#trs26 .home-agenda-list {
    margin-bottom: 28px;
}

/* Reset list */
#trs26 .home-agenda-list #activitat-lst,
#trs26 .home-agenda-list .activitat-lst {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Each row: pill container */
#trs26 .home-agenda-list #activitat-lst > li,
#trs26 .home-agenda-list .activitat-lst > li {
    list-style: none !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    background: rgba(239, 239, 239, 1) !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    width: 100% !important;
    height: auto !important;
    box-shadow: none !important;
    border: none !important;
    transition: background 0.25s ease;
}

#trs26 .home-agenda-list #activitat-lst > li:hover {
    background: #dcdce3 !important;
}

/* Highlighted (first item or .destacado) — dark charcoal background */
/* #trs26 .home-agenda-list #activitat-lst > li:first-child,
#trs26 .home-agenda-list .activitat-lst > li:first-child,
#trs26 .home-agenda-list #activitat-lst > li.destacado,
#trs26 .home-agenda-list .activitat-lst > li.destacado {
    background: rgba(50, 50, 50, 1) !important;
} */

/* Anchor wrap */
#trs26 .home-agenda-list #activitat-lst > li > a,
#trs26 .home-agenda-list .activitat-lst > li > a {
    display: block !important;
    color: inherit !important;
    text-decoration: none !important;
    background: transparent !important;
    padding: 0 !important;
}

/* Inner grid: date column | title column */
#trs26 .home-agenda-list .activitat-caption {
    position: static !important;
    display: grid !important;
    grid-template-columns: 130px 1fr !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    background: transparent !important;
    color: inherit !important;
    bottom: auto !important;
    left: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
}

/* Date column (h2) */
#trs26 .home-agenda-list .activitat-caption h2 {
    margin: 0 !important;
    padding: 12px 16px !important;
    background: rgba(183, 183, 185, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px 0 0 999px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1d1d4b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    line-height: 1 !important;
    text-align: center !important;
    text-shadow: none !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
}

/* #trs26 .home-agenda-list #activitat-lst > li:first-child .activitat-caption h2,
#trs26 .home-agenda-list .activitat-lst > li:first-child .activitat-caption h2,
#trs26 .home-agenda-list #activitat-lst > li.destacado .activitat-caption h2 {
    background: rgba(0, 0, 0, 0.25) !important;
    color: #fff !important;
} */

/* Inner <x> wrapper */
#trs26 .home-agenda-list .activitat-caption h2 x {
    display: inline-flex !important;
    align-items: center;
    gap: 3px;
    flex-wrap: wrap;
    justify-content: center;
    color: inherit;
}

#trs26 .home-agenda-list .activitat-caption h2 .month {
    margin-left: 4px !important;
    padding: 0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: inherit !important;
    line-height: 1 !important;
    display: inline !important;
}

#trs26 .home-agenda-list .activitat-caption h2 .divider {
    display: inline-block !important;
    width: 8px !important;
    height: 1.5px !important;
    background: currentColor !important;
    border: none !important;
    margin: 0 4px !important;
    opacity: 0.7 !important;
}

/* Title column */
#trs26 .home-agenda-list .activitat-txt {
    display: flex !important;
    align-items: center !important;
    padding: 12px 24px !important;
    background: transparent !important;
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    color: inherit !important;
    position: static !important;
}

#trs26 .home-agenda-list .activitat-txt h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    color: #1d1d4b !important;
    text-shadow: none !important;
    transition: color 0.2s ease;
}

/* #trs26 .home-agenda-list #activitat-lst > li:first-child .activitat-txt h3,
#trs26 .home-agenda-list .activitat-lst > li:first-child .activitat-txt h3,
#trs26 .home-agenda-list #activitat-lst > li.destacado .activitat-txt h3 {
    color: #fff !important;
} */

#trs26 .home-agenda-list #activitat-lst > li:hover .activitat-txt h3 {
    color: #049ba9 !important;
}

/* #trs26 .home-agenda-list #activitat-lst > li:first-child:hover .activitat-txt h3,
#trs26 .home-agenda-list .activitat-lst > li:first-child:hover .activitat-txt h3,
#trs26 .home-agenda-list #activitat-lst > li.destacado:hover .activitat-txt h3 {
    color: rgba(255, 255, 255, 0.75) !important;
} */

/* "Veure més" button row */
#trs26 .home-agenda-list #btn-more,
#trs26 .home-agenda-list .view-mre-btn {
    text-align: center;
    margin-top: 16px;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

#trs26 .home-agenda-list #btn-more a {
    display: inline-block;
    padding: 10px 26px;
    background: transparent;
    color: #049ba9;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#trs26 .home-agenda-list #btn-more a:hover {
    color: #037c88;
}

/* Loading spinner */
#trs26 .home-agenda-list #loading {
    background: transparent;
    text-align: center;
    padding: 16px 0;
    border-radius: 0;
    color: #049ba9;
}

/* CTA buttons row */
#trs26 .home-agenda-ctas,
#trs26 .home-cats-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* Generic home-cta-btn (used for variants beyond --teal which is in unified block) */
#trs26 .home-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

/* --teal variant: only its own padding/sizing override */
#trs26 .home-cta-btn--teal {
    padding: 12px 28px;
    font-size: 14px;
    letter-spacing: 0.02em;
}

/* ── RIGHT: Categories grid ── */
#trs26 .home-cats-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#trs26 .home-cats-title {
    font-family: 'KoHo', sans-serif;
    font-size: 47px;
    font-weight: 700;
    color: #1d1d4b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 28px;
    padding: 0;
}

#trs26 .home-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

/* home-cat variations */
#trs26 .home-cat-card {
    aspect-ratio: 3 / 4;
    border-radius: 16px;
}

#trs26 .home-cat-footer {
    padding: 20px;
    gap: 6px;
}

#trs26 .home-cat-label {
    font-size: 16px;
}

#trs26 .home-cat-eye {
    width: 30px;
    height: 30px;
}

/* Responsive */
@media (max-width: 1400px) {
    #trs26 .home-split-wrap {
        grid-template-columns: 360px 1fr;
        gap: 60px;
        padding: 0 50px;
    }
}

@media (max-width: 1100px) {
    #trs26 .home-split-wrap {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }
    #trs26 .home-cats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 820px) {
    #trs26 .home-cats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    #trs26.home-split-section {
        padding: 50px 0 70px;
    }
    #trs26 .home-split-wrap {
        padding: 0 20px;
        gap: 40px;
    }
    #trs26 .home-agenda-title-bold,
    #trs26 .home-agenda-title-year,
    #trs26 .home-cats-title {
        font-size: 26px;
    }
    #trs26 .home-cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* Home Què visitar / Què fer — slider en mobile */
@media (max-width: 767px) {
    #trs26 .home-cats-grid {
        display: flex;
        grid-template-columns: none;
        gap: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 6px;
        /* bleed slightly to viewport edge so user sees a clear "more" cue */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding-left: 20px;
    }
    #trs26 .home-cats-grid::-webkit-scrollbar {
        display: none;
    }
    #trs26 .home-cats-grid .home-cat-card {
        flex: 0 0 78%;
        scroll-snap-align: start;
        aspect-ratio: 3 / 4;
        min-width: 0;
    }
}

/* ==========================================================================
   HOME — Planifica + Map section
   ========================================================================== */
#trs26.home-plan-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-color: #1a2a3a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    box-sizing: border-box;
    padding: 80px 0;
}

#trs26 .home-plan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 30, 0.65);
    z-index: 1;
    pointer-events: none;
}

#trs26 .home-plan-wrap {
    position: relative;
    z-index: 2;
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left column */
#trs26 .home-plan-left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#trs26 .home-plan-title {
    font-family: 'KoHo', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 40px;
    padding: 0;
    line-height: 1.1;
}

#trs26 .home-plan-dest {
    margin-bottom: 28px;
}

#trs26 .home-plan-dest-name {
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 14px;
    padding: 0;
}

#trs26 .home-plan-dest-text {
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

#trs26 .home-plan-dest-text p {
    margin: 0;
    padding: 0;
}

#trs26 .home-plan-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin: 0 0 28px;
}

#trs26 .home-plan-links {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

#trs26 .home-plan-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: 'latoregular', 'Lato', Arial, sans-serif;
    font-size: 13px;
    transition: color 0.25s ease;
    text-align: center;
}

#trs26 .home-plan-link:hover {
    color: #fff;
}

#trs26 .home-plan-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.25s ease;
}

#trs26 .home-plan-link-icon img,
#trs26 .home-plan-link-icon svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#trs26 .home-plan-link:hover .home-plan-link-icon {
    color: #fff;
}

#trs26 .home-plan-link-text {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

/* Right: map */
#trs26 .home-plan-map-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

#trs26 .home-plan-map {
    width: 100%;
    height: 450px;
}

/* Responsive */
@media (max-width: 1100px) {
    #trs26 .home-plan-wrap {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 50px;
    }
    #trs26.home-plan-section {
        padding: 60px 0;
    }
    #trs26 .home-plan-map {
        height: 360px;
    }
}

@media (max-width: 640px) {
    #trs26 .home-plan-wrap {
        padding: 0 24px;
    }
    #trs26 .home-plan-title {
        font-size: 30px;
    }
    #trs26 .home-plan-links {
        gap: 24px;
    }
    #trs26 .home-plan-map {
        height: 280px;
    }
}

/* ==========================================================================
   HOME — Destination cards section
   ========================================================================== */
#trs26.home-dests-section {
    width: 100%;
    margin-top: -100px;
    padding: 0px 80px;
    box-sizing: border-box;
    background: transparent;
    position: relative;
    z-index: 99;
}

#trs26 .home-dests-grid {
    max-width: 1620px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

#trs26 .home-dest-card {
    position: relative;
    display: flex;
    align-items: stretch;
    /*min-height: 420px;*/
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1d1d4b;
    background-repeat: no-repeat;
    text-decoration: none;
    text-align: center;
    color: #fff;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

#trs26 .home-dest-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

#trs26 .home-dest-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

#trs26 .home-dest-body {
    position: relative;
    z-index: 2;
    padding: 38px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    box-sizing: border-box;
}

#trs26 .home-dest-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: 0;
    padding: 0;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#trs26 .home-dest-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(255,255,255,0.88);
    max-width: 400px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#trs26 .home-dest-text p {
    margin: 0;
    padding: 0;
}

#trs26 .home-dest-btn {
    display: inline-block;
    align-self: center;
    margin-top: 10px;
    padding: 12px 34px;
    background: rgba(255,255,255,0.95);
    border: 1.5px solid rgba(255,255,255,0.95);
    border-radius: 999px;
    font-family: 'latobold', 'Lato', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1d1d4b;
    letter-spacing: 0.04em;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

#trs26 .home-dest-card:hover .home-dest-btn {
    background: #fff;
    border-color: #fff;
    color: #1d1d4b;
}

/* Reveal on scroll — fade up after ~100px */
#trs26 .home-dests-grid {
    transform: translateY(40px);
    transition: transform 0.8s ease-out;
}
#trs26 .home-dest-card {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.35s ease, box-shadow 0.35s ease;
}
#trs26 .home-dest-card:nth-child(2) {
    transition-delay: 0.15s, 0s, 0s;
}
#trs26 .home-dest-card:nth-child(3) {
    transition-delay: 0.3s, 0s, 0s;
}
#trs26.home-dests-section.is-revealed .home-dests-grid {
    transform: none;
}
#trs26.home-dests-section.is-revealed .home-dest-card {
    opacity: 1;
}

@media (max-width: 1100px) {
    #trs26.home-dests-section {
        padding: 50px 50px;
    }
    #trs26 .home-dests-grid {
        gap: 24px;
    }
    #trs26 .home-dest-card {
        min-height: 380px;
    }
    #trs26 .home-dest-body {
        padding: 30px 24px;
    }
    #trs26 .home-dest-title {
        font-size: 28px;
    }
    #trs26 .home-dest-text {
        font-size: 15px;
    }
    #trs26 .home-dest-btn {
        font-size: 15px;
        padding: 10px 26px;
    }
}

@media (max-width: 820px) {
    #trs26 .home-dests-grid {
        grid-template-columns: 1fr;
    }
    #trs26 .home-dest-card {
        min-height: 360px;
    }
    #trs26 .home-dest-body {
        padding: 36px 28px;
    }
    #trs26 .home-dest-title {
        font-size: 32px;
    }
    #trs26 .home-dest-text {
        font-size: 16px;
    }
    #trs26 .home-dest-btn {
        font-size: 16px;
        padding: 11px 28px;
    }
}

@media (max-width: 640px) {
    #trs26.home-dests-section {
        padding: 40px 20px;
    }
    #trs26 .home-dest-card {
        min-height: 320px;
    }
    #trs26 .home-dest-body {
        padding: 30px 22px;
    }
    #trs26 .home-dest-title {
        font-size: 26px;
    }
    #trs26 .home-dest-text {
        font-size: 15px;
    }
    #trs26 .home-dest-btn {
        font-size: 15px;
        padding: 10px 24px;
    }
}

/* ==========================================================================
   SITE HEADER — Fixed + scroll-hide + typography
   ========================================================================== */

/* ── Wrapper ── */
header.site-main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    /*background: linear-gradient(180deg, rgba(5, 12, 28, 0.94) 0%, rgba(8, 18, 38, 0.88) 100%);*/
    background-color: transparent;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.35s ease,
                background 0.5s ease,
                background-color 0.5s ease,
                box-shadow 0.5s ease,
                backdrop-filter 0.5s ease;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

header.site-main.header--hidden {
    transform: translateY(-100%);
}

/* Scrolled state: solid background for contrast over white content */
header.site-main.header--scrolled {
    background: rgba(10, 20, 42, 0.97) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* Pages without hero — header always solid */
body.post-type-archive-serveis header.site-main,
body.post-type-archive-directori header.site-main,
body.page-template-contacte header.site-main,
body.page-template-legal header.site-main {
    background: rgba(10, 20, 42, 0.97) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

/* ── 3-column inner layout ── */
header.site-main .hdr-inner {
    display: flex;
    align-items: center;
    /*gap: 0 32px;*/
    padding: 0 40px;
    min-height: 100px;
    box-sizing: border-box;
}

/* ── ① Logo ── */
header.site-main .hdr-logo {
    flex: 0 0 15%;
}

header.site-main .hdr-logo img {
    display: block;
    max-height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

/* ── ② Menus ── */
header.site-main .hdr-menus {
    flex: 0 0 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Top utility nav */
header.site-main .hdr-top-nav ul,
header.site-main .hdr-util-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

header.site-main .hdr-top-nav li,
header.site-main .hdr-util-list li {
    position: relative;
    margin: 0 15px;
}

/* header.site-main .hdr-top-nav li::after,
header.site-main .hdr-util-list li::after {
    content: '·';
    color: rgba(255,255,255,0.35);
    margin: 0 10px;
} */

header.site-main .hdr-top-nav li:last-child::after,
header.site-main .hdr-util-list li:last-child::after {
    display: none;
}

header.site-main .hdr-top-nav a,
header.site-main .hdr-util-list a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

header.site-main .hdr-top-nav a:hover,
header.site-main .hdr-util-list a:hover {
    color: #fff;
}

/* Main nav */
header.site-main .hdr-main-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

header.site-main .hdr-main-nav li {
    position: relative;
    padding: 0;
    margin: 0 25px;
    background: none;
}

/* header.site-main .hdr-main-nav li::after {
    content: '·';
    color: rgba(255,255,255,0.3);
    margin: 0 12px;
} */

header.site-main .hdr-main-nav li:last-child::after {
    display: none;
}

header.site-main .hdr-main-nav > nav > ul > li > a,
header.site-main #menu-menu-principal-cabezera > li > a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

header.site-main .hdr-main-nav > nav > ul > li > a:hover,
header.site-main #menu-menu-principal-cabezera > li > a:hover {
    color: rgba(255,255,255,0.65);
}

/* ── Dropdowns — override ddsmoothmenu.css ── */

/* Container: visual styles only — do NOT force display:block here */
header.site-main .ddsmoothmenu ul li ul,
header.site-main .hdr-main-nav ul ul {
    float: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    width: 260px !important;
    background: #fff !important;
    border-top: 3px solid #049ba9 !important;
    border-bottom: none !important;
    border-radius: 0 0 16px 16px !important;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15) !important;
    padding: 6px 0 10px !important;
    margin: 0 !important;
    z-index: 9999 !important;
}

/* Show ONLY on hover */
header.site-main .ddsmoothmenu ul li:hover > ul,
header.site-main .hdr-main-nav ul li:hover > ul {
    display: block !important;
    visibility: visible !important;
}

/* List items: force vertical layout, clear all floats */
header.site-main .ddsmoothmenu ul li ul li,
header.site-main .hdr-main-nav ul ul li {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: transparent !important;
    border-bottom: 1px solid rgba(29, 29, 75, 0.08) !important;
    line-height: normal !important;
    padding: 0 !important;
    margin: 0 !important;
}

header.site-main .ddsmoothmenu ul li ul li:last-child,
header.site-main .hdr-main-nav ul ul li:last-child {
    border-bottom: none !important;
}

/* Remove dot separators */
header.site-main .ddsmoothmenu ul li ul li::after,
header.site-main .hdr-main-nav ul ul li::after {
    display: none !important;
    content: '' !important;
}

/* Links: dark navy text on white bg */
header.site-main .ddsmoothmenu ul li ul li a,
header.site-main .hdr-main-nav ul ul li a {
    display: block !important;
    padding: 12px 22px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    letter-spacing: 0.03em !important;
    color: #1d1d4b !important;
    text-transform: none !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: color 0.18s ease, padding-left 0.18s ease, background 0.18s ease !important;
}

/* Hover: teal accent */
header.site-main .ddsmoothmenu ul li ul li a:hover,
header.site-main .ddsmoothmenu ul li li:last-child a:hover,
header.site-main .hdr-main-nav ul ul li a:hover {
    color: #049ba9 !important;
    background: rgba(4, 155, 169, 0.07) !important;
    padding-left: 30px !important;
}

/* Active parent when dropdown is open */
header.site-main .ddsmoothmenu ul li:hover > a,
header.site-main #menu-menu-principal-cabezera > li:hover > a {
    color: #049ba9 !important;
}

/* ── ③ Right: weather + lang + social ── */
header.site-main .hdr-right {
    flex: 0 0 15%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
    flex-shrink: 0;
}

header.site-main .hdr-right-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

header.site-main .hdr-weather {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

header.site-main .hdr-weather:hover { color: #fff; }

header.site-main .hdr-sep {
    color: rgba(255,255,255,0.35);
    font-size: 14px;
}

header.site-main .hdr-lang {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    border-radius: 4px;
    padding: 3px 8px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

header.site-main .hdr-lang option {
    background: #0a1428;
    color: #fff;
}

header.site-main .hdr-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

header.site-main .hdr-social a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

header.site-main .hdr-social img,
header.site-main .hdr-social svg,
header.site-main .hdr-social i {
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.2s ease;
    width: 20px;
}

header.site-main .hdr-social a:hover img,
header.site-main .hdr-social a:hover svg,
header.site-main .hdr-social a:hover i {
    opacity: 1;
}

/* ── Mobile toggle ── */
header.site-main .hdr-mobile-toggle {
    display: none;
    flex-shrink: 0;
}

header.site-main .hdr-mobile-toggle a {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

header.site-main .hdr-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* ── Responsive ── */

/* 1500px: tighten menu spacing, allow side columns to shrink to content */
@media (max-width: 1500px) {
    header.site-main .hdr-inner {
        padding: 0 32px;
        gap: 0 24px;
    }
    header.site-main .hdr-logo,
    header.site-main .hdr-right {
        flex: 0 0 auto;
    }
    header.site-main .hdr-menus {
        flex: 1 1 auto;
        min-width: 0;
    }
    header.site-main .hdr-main-nav li {
        margin: 0 16px;
    }
    header.site-main .hdr-top-nav li,
    header.site-main .hdr-util-list li {
        margin: 0 10px;
    }
}

/* 1300px: further compress + smaller main nav font */
@media (max-width: 1300px) {
    header.site-main .hdr-inner {
        padding: 0 24px;
        gap: 0 16px;
    }
    header.site-main .hdr-main-nav li {
        margin: 0 12px;
    }
    header.site-main .hdr-top-nav li,
    header.site-main .hdr-util-list li {
        margin: 0 8px;
    }
    header.site-main .hdr-main-nav > nav > ul > li > a,
    header.site-main #menu-menu-principal-cabezera > li > a {
        font-size: 14px;
        letter-spacing: 0.05em;
    }
    header.site-main .hdr-top-nav a,
    header.site-main .hdr-util-list a {
        font-size: 13px;
        letter-spacing: 0.06em;
    }
    header.site-main .hdr-logo img {
        max-height: 48px;
    }
}

/* 1150px: hide social icons in right column (saves ~140px) */
@media (max-width: 1150px) {
    header.site-main .hdr-social {
        display: none;
    }
    header.site-main .hdr-main-nav > nav > ul > li > a,
    header.site-main #menu-menu-principal-cabezera > li > a {
        font-size: 13px;
        letter-spacing: 0.04em;
    }
    header.site-main .hdr-main-nav li {
        margin: 0 10px;
    }
}

/* 1024px: hide weather + separator (only language remains in right) */
@media (max-width: 1024px) {
    header.site-main .hdr-weather,
    header.site-main .hdr-sep {
        display: none;
    }
    header.site-main .hdr-inner {
        padding: 0 20px;
        min-height: 80px;
    }
    header.site-main .hdr-menus {
        gap: 14px;
    }
    header.site-main .hdr-main-nav li {
        margin: 0 8px;
    }
    header.site-main .hdr-top-nav a,
    header.site-main .hdr-util-list a {
        font-size: 12px;
        letter-spacing: 0.04em;
    }
}

/* 900px: hamburger takes over — hide desktop menus + right column */
@media (max-width: 900px) {
    header.site-main .hdr-inner {
        min-height: 70px;
        padding: 0 16px;
    }
    header.site-main .hdr-menus,
    header.site-main .hdr-right {
        display: none;
    }
    header.site-main .hdr-mobile-toggle {
        display: flex;
        margin-left: auto;
    }
}

/* ==========================================================================
   MOBILE NAV — custom off-canvas menu (replaces mmenu)
   ========================================================================== */
#mobNav.mob-nav,
.mob-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 9500 !important;
    background: rgba(15, 5, 73, 1);
    color: #fff;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0.6s;
    visibility: hidden;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
}
body.mob-nav--open #mobNav.mob-nav,
body.mob-nav--open .mob-nav {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0s linear 0s;
}
body.mob-nav--open {
    overflow: hidden;
}

/* Hide global site header while mobile menu is open (same as scroll-hide) */
body.mob-nav--open header.site-main {
    transform: translateY(-100%);
}

/* Hide any nested submenu inside the mobile nav */
.mob-nav .mob-nav-list ul,
.mob-nav .mob-nav-list .sub-menu,
.mob-nav .mob-nav-list .children {
    display: none !important;
}

/* Header bar inside menu (logo + close) */
.mob-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
    flex-shrink: 0;
}
.mob-nav-logo {
    display: inline-block;
    line-height: 0;
}
.mob-nav-logo img {
    width: 110px;
    height: auto;
    filter: brightness(0) invert(1);
}
.mob-nav-close {
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.mob-nav-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    transform-origin: center;
}
.mob-nav-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}
.mob-nav-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Body (menus) */
.mob-nav-body {
    flex: 1 0 auto;
    padding: 12px 20px 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mob-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
.mob-nav-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.mob-nav-list a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mob-nav-list a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Main menu */
.mob-nav-list--main {
    gap: 22px;
}
.mob-nav-list--main a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    text-transform: uppercase;
}

/* Divider */
.mob-nav-divider {
    width: 100%;
    height: 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin: 32px 0 24px;
}

/* Secondary menu */
.mob-nav-list--secondary {
    gap: 14px;
}
.mob-nav-list--secondary a {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

/* Footer bar inside menu (social only, centered) */
.mob-nav-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 24px 28px;
    flex-shrink: 0;
    gap: 16px;
}
.mob-nav-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
.mob-nav-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}
.mob-nav-social a:hover {
    transform: translateY(-1px);
}
.mob-nav-social a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.mob-nav-lang {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.mob-nav-lang select {
    background: transparent;
    border: 0;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 22px 4px 4px;
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 14px;
}
.mob-nav-lang select option {
    background: rgba(15, 5, 73, 1);
    color: #fff;
}

/* ==========================================================================
   AddToAny share buttons — match site palette (navy bg, teal hover)
   ========================================================================== */
.a2a_kit {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0;
    padding: 0;
    line-height: 1;
}
.a2a_kit > a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1d1d4b !important;
    color: #fff !important;
    text-decoration: none;
    line-height: 1;
    padding: 0;
    margin: 0;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.a2a_kit > a:hover {
    background: rgba(143, 200, 201, 1) !important;
    transform: translateY(-2px);
}
.a2a_kit > a > span.a2a_svg {
    width: 18px !important;
    height: 18px !important;
    border-radius: 0 !important;
    background: transparent !important;
    line-height: 1 !important;
    margin: 0 !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.a2a_kit > a > span.a2a_svg svg {
    width: 18px !important;
    height: 18px !important;
    fill: #fff !important;
}
.a2a_kit > a:hover > span.a2a_svg svg {
    fill: #1d1d4b !important;
}
.a2a_kit > a > span.a2a_count {
    display: none !important;
}


/* ==========================================================================
   QVS — Single Que Visitar gallery (single-que-visitar.php)
   ========================================================================== */
#trs26.qvs-gallery {
    /* Full document width (parent is body). Avoid 100vw to prevent
       horizontal overflow caused by the vertical scrollbar (~17px). */
    width: 100%;
    overflow: hidden;
    padding: 60px 0 30px;
    box-sizing: border-box;
    position: relative;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
}
#trs26.qvs-gallery.qvs-grabbing {
    cursor: grabbing;
}
#trs26.qvs-gallery img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

#trs26 .qvs-gallery-track {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 20px 0;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
}

#trs26 .qvs-slide {
    flex: 0 0 56vw;
    max-width: 900px;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    background: #1d1f22;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transform: scale(0.78);
    opacity: 0.55;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.15, 1),
                opacity 0.6s ease,
                box-shadow 0.6s ease;
    cursor: pointer;
}

#trs26 .qvs-slide--active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
    cursor: default;
}

#trs26 .qvs-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Nav arrows below */
#trs26 .qvs-gallery-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

#trs26 .qvs-prev,
#trs26 .qvs-next {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #1d1d4b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#trs26 .qvs-prev:hover,
#trs26 .qvs-next:hover {
    background: rgba(4, 155, 169, 0.1);
    color: #049ba9;
    transform: translateY(-1px);
}

@media (max-width: 1100px) {
    #trs26 .qvs-slide {
        flex-basis: 70vw;
    }
    #trs26 .qvs-gallery-track {
        gap: 24px;
    }
}

@media (max-width: 767px) {
    #trs26.qvs-gallery {
        padding: 40px 0 20px;
    }
    #trs26 .qvs-slide {
        flex-basis: 82vw;
        border-radius: 18px;
    }
    #trs26 .qvs-gallery-track {
        gap: 16px;
    }
    #trs26 .qvs-gallery-nav {
        margin-top: 20px;
    }
}

/* ==========================================================================
   AG — Tribe Events archive (/events) — photo view + events bar
   ========================================================================== */

/* ── Outer container ──
   Override the legacy `.row1 { width: 1156px }` from style.css so the
   events listing can use the full 1400px width like the rest of the site. */
body.tribe-events-page-template .row1 {
    width: 100% !important;
    max-width: 1400px !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ── Header: single row layout (top-bar | search | button | view-selector) ── */
body.tribe-events-page-template .tribe-events-header {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 32px;
    margin-bottom: 50px;
    padding: 0;
    background: transparent;
    border: none;
}

body.tribe-events-page-template .tribe-events-c-events-bar,
body.tribe-events-page-template .tribe-events-c-events-bar * {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Top bar (calendar + date + prev/next) — left side, ~1/4 of width */
body.tribe-events-page-template .tribe-events-c-top-bar {
    order: 1;
    /* flex: 0 0 25%;
    max-width: 25%; */
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
}

body.tribe-events-page-template .tribe-events-c-top-bar__datepicker {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 0;
}

body.tribe-events-page-template .tribe-events-c-top-bar__datepicker-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    color: #1d1d4b !important;
    white-space: nowrap;
}

body.tribe-events-page-template .tribe-events-c-top-bar__datepicker-button::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1d4b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>") no-repeat center / contain;
    flex-shrink: 0;
}

/* Force DM Sans 20px on all inner span/labels rendered by Tribe within the datepicker */
body.tribe-events-page-template .tribe-events-c-top-bar__datepicker-button span,
body.tribe-events-page-template .tribe-events-c-top-bar__datepicker-month,
body.tribe-events-page-template .tribe-events-c-top-bar__datepicker-time {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #1d1d4b !important;
}

body.tribe-events-page-template .tribe-events-c-top-bar__nav {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0 0 0 8px;
    padding: 0;
}

body.tribe-events-page-template .tribe-events-c-top-bar__nav-link,
body.tribe-events-page-template .tribe-events-c-top-bar__nav-link[disabled] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(29, 29, 75, 0.2) !important;
    background: transparent !important;
    color: #1d1d4b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

body.tribe-events-page-template .tribe-events-c-top-bar__nav-link:hover {
    background: rgba(143, 200, 201, 0.2) !important;
    border-color: rgba(143, 200, 201, 1) !important;
}

/* Events bar — search + button + view selector, takes remaining space */
body.tribe-events-page-template .tribe-events-c-events-bar {
    order: 2;
    flex: 1;
    display: flex !important;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

body.tribe-events-page-template .tribe-events-c-search {
    display: flex !important;
    align-items: center;
    gap: 16px;
    flex: 1;
    margin: 0;
    padding: 0;
}

/* Search input — underline-only style */
body.tribe-events-page-template .tribe-events-c-search__input-control {
    flex: 1;
    position: relative;
    padding: 0 !important;
    margin: 0;
}

body.tribe-events-page-template .tribe-events-c-search__input {
    width: 100% !important;
    height: 40px !important;
    padding: 0 0 0 50px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(29, 29, 75, 0.25) !important;
    border-radius: 0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    color: #1d1d4b !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease !important;
}

body.tribe-events-page-template .tribe-events-c-search__input:focus {
    border-bottom-color: rgba(143, 200, 201, 1) !important;
}

body.tribe-events-page-template .tribe-events-c-search__input::placeholder {
    color: rgba(29, 29, 75, 0.55);
}

/* Search button — solid teal pill */
body.tribe-events-page-template .tribe-events-c-search__button {
    flex-shrink: 0;
    height: 44px !important;
    padding: 0 28px !important;
    background: rgba(143, 200, 201, 1) !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s ease, transform 0.2s ease !important;
}

body.tribe-events-page-template .tribe-events-c-search__button:hover {
    background: rgba(120, 180, 181, 1) !important;
    transform: translateY(-1px);
}

/* View selector (PHOTO dropdown) — minimal, far right */
body.tribe-events-page-template .tribe-events-c-view-selector {
    flex-shrink: 0;
    background: transparent;
    border: none;
    padding: 0;
}

body.tribe-events-page-template .tribe-events-c-view-selector__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent !important;
    border: 0 !important;
    padding: 8px 0 !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1d4b !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

body.tribe-events-page-template .tribe-events-c-view-selector__button-icon-caret {
    border-top-color: #1d1d4b !important;
}

/* ── Filter bar (sidebar/inline filters) ── */
body.tribe-events-page-template .tribe-events-c-filter-bar {
    margin-bottom: 32px;
}

/* ── Event grid ── */
body.tribe-events-page-template .activitat-lst {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Event card ── */
body.tribe-events-page-template .ag-card {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 16px;
    height: 400px !important;
    overflow: hidden;
    background: rgba(143, 200, 201, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.tribe-events-page-template .ag-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

body.tribe-events-page-template .ag-card__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

/* Card header (light teal) */
body.tribe-events-page-template .ag-card__head {
    position: relative;
    padding: 28px 24px 26px;
    background: rgba(143, 200, 201, 1);
    color: #1d1d4b;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 170px;
}

/* Top row: date (left) + eye (right) */
body.tribe-events-page-template .ag-card__head-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

/* Date — 22px / 700 */
body.tribe-events-page-template .ag-card__date {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
}

body.tribe-events-page-template .ag-card__date .month {
    font-weight: 700;
    text-transform: capitalize;
    margin-left: 2px;
}

body.tribe-events-page-template .ag-card__date .divider {
    display: inline-block;
    width: 12px;
    height: 2px;
    background: #ffffff;
    margin: 0 6px;
    vertical-align: middle;
    border: none;
    opacity: 0.65;
}

/* Title — 17px / 700 uppercase */
body.tribe-events-page-template .ag-card__title {
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    color: #1d1d4b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Time — 16px / 500 */
body.tribe-events-page-template .ag-card__time {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #1d1d4b;
}

/* Eye icon (inline within head-top, right-aligned via space-between) */
body.tribe-events-page-template .ag-card__eye {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

body.tribe-events-page-template .ag-card:hover .ag-card__eye {
    background: #f1f1f1;
}

/* Card image (below header) */
body.tribe-events-page-template .ag-card__img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #1d1f22;
    line-height: 0;
    position: relative;
}

body.tribe-events-page-template .ag-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Featured card variant — could be made wider in the future */
body.tribe-events-page-template .ag-card--featured .ag-card__head {
    background: rgba(143, 200, 201, 1);
}

/* ── Pagination / nav ── */
body.tribe-events-page-template .tribe-events-c-nav {
    margin-top: 50px;
    padding: 20px 0;
    border-top: 1px solid rgba(29, 29, 75, 0.1);
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    body.tribe-events-page-template {
        padding: 40px 50px 60px;
    }
    body.tribe-events-page-template .activitat-lst {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    body.tribe-events-page-template .activitat-lst {
        grid-template-columns: repeat(2, 1fr);
    }
    body.tribe-events-page-template .tribe-events-header {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 600px) {
    body.tribe-events-page-template {
        padding: 0;
    }
    body.tribe-events-page-template .activitat-lst {
        grid-template-columns: 1fr;
    }
    body.tribe-events-page-template .ag-card__date {
        font-size: 20px;
    }
    body.tribe-events-page-template .ag-card__title {
        font-size: 16px;
    }
}