/* Shared components and text interactions. Page files own placement and responsive
   layout; return links, metadata labels, ticket appearance and feedback are defined here. */
:root{
 --ta-text-hover:#aa0000;
 --ta-link-hover:#f4f4f4;
 --ta-ticket-hover:#8a0000;
 --ta-link-support:#f4f4f4;
 --ta-link-underline-offset:4px;
 --ta-link-underline-thickness:1px;
 --ta-link-duration:180ms;
}

/* Approved shared return link (PRJ-865, comparison1B). Placement stays with its page. */
body :is(.tae-return-top a,.taa-back,a.ta-back){
 display:inline-flex;align-items:center;gap:16px;min-height:44px;
 font:400 14px/1.55 Archivo,Arial,sans-serif;letter-spacing:normal;text-transform:none;
 color:var(--ta-link-support);text-decoration:none;
}
/* One metadata face; data values retain their own hierarchy. */
body :is(.ta-event .ta-label,.ta-event .ta-label h2,.ta-event .ta-label p,.taa-facts dt){
 font:400 12px/1.5 "IBM Plex Mono",monospace;letter-spacing:.035em;
 text-transform:uppercase;color:#a6a6a6;
}
@media(max-width:600px){
 body :is(.ta-event .ta-label,.ta-event .ta-label h2,.ta-event .ta-label p,.taa-facts dt){font-size:11px}
}
/* The same ticket action on Home and event detail; width/padding belongs to placement. */
body :is(.ta-event .ta-tickets .elementor-button,.tahl-study .tahl-primary){
 background:var(--ta-red);color:var(--ta-white);border:0;border-radius:0;
 font:700 14px/1.4 Archivo,Arial,sans-serif;letter-spacing:.065em;
 text-transform:uppercase;text-decoration:none;white-space:nowrap;
 transition:background-color var(--ta-link-duration) ease-out;
}
body :is(.ta-event .ta-tickets .elementor-button,.tahl-study .tahl-primary):focus-visible{
 background:var(--ta-ticket-hover);color:var(--ta-white);text-decoration:underline;
 text-underline-offset:var(--ta-link-underline-offset);
}
@media(hover:hover) and (pointer:fine){
 body :is(.ta-event .ta-tickets .elementor-button,.tahl-study .tahl-primary):hover{
  background:var(--ta-ticket-hover);color:var(--ta-white);
 }
}

body :is(.tam-nav a,.tae-header nav a,.tae-footer a,.ta-footer a,.tahl-section-heading a,.tahl-details,.tahl-shop-link,.tae-all,.tae-open,.tae-row-title a,.tae-return,.tae-return-top a,.taa-back,.taa-booking,.taa-action,.ta-back a,a.ta-back,.ta-detail-info a:not(.ta-action):not(.button),.ta-store .woocommerce .product-name a,.ta-store .woocommerce .woocommerce-info a:not(.button),.tae-archive-open,.tahl-product-action,.tahl-event-action,.tahl-orb-action,.ta-preview-action){
 text-underline-offset:var(--ta-link-underline-offset);
 text-decoration-thickness:var(--ta-link-underline-thickness);
 text-decoration-skip-ink:auto;
}
body :is(.tam-nav a,.tae-header nav a,.tae-footer a,.ta-footer a,.tahl-section-heading a,.tahl-details,.tahl-shop-link,.tae-all,.tae-open,.tae-row-title a,.tae-return,.tae-return-top a,.taa-back,.taa-booking,.taa-action,.ta-back a,a.ta-back,.ta-detail-info a:not(.ta-action):not(.button),.ta-store .woocommerce .product-name a,.ta-store .woocommerce .woocommerce-info a:not(.button),.tae-archive-open,.tahl-product h3,.tahl-event h3,.ta-card-title a,.tae-row-title h2,.ta-preview-title,.tae-neighbour span span,.tahl-archive-copy h2 a,.tahl-feature h3 a){transition:color var(--ta-link-duration) ease}
body :is(.tam-nav a,.tae-header nav a,.tae-footer a,.ta-footer a,.tahl-section-heading a,.tahl-details,.tahl-shop-link,.tae-all,.tae-open,.tae-row-title a,.tae-return,.tae-return-top a,.taa-back,.taa-booking,.taa-action,.ta-back a,a.ta-back,.ta-detail-info a:not(.ta-action):not(.button),.ta-store .woocommerce .product-name a,.ta-store .woocommerce .woocommerce-info a:not(.button),.tae-archive-open):focus-visible{color:var(--ta-link-hover)!important;text-decoration-line:underline}
body :is(.tahl-product:focus-visible h3,.tahl-event:focus-visible h3,.ta-card:has(a:focus-visible) .ta-card-title a,a.tae-list-event:focus-visible .tae-row-title h2,.ta-preview-link:focus-visible .ta-preview-title,.tae-neighbour:focus-visible span span,.tahl-archive-copy h2 a:focus-visible,.tahl-feature h3 a:focus-visible,.tahl-feature:has(.tahl-flyer:focus-visible) h3 a){color:var(--ta-text-hover)!important}
body :is(.tahl-product:focus-visible .tahl-product-action,.tahl-event:focus-visible .tahl-event-action,a.tae-list-event:focus-visible .tae-open,.ta-preview-link:focus-visible .ta-preview-action,.ta-sphere:focus-visible .tahl-orb-action,.tahl-archive:has(.tahl-archive-copy a:focus-visible) .tahl-orb-action,.tahl-feature:has(h3 a:focus-visible,.tahl-flyer:focus-visible) .tahl-details){text-decoration-line:underline}
/* Supporting lines never inherit the title accent. */
body :is(.ta-preview-link,.tae-neighbour){color:var(--ta-link-support);text-decoration:none}
body :is(.ta-preview-date,.ta-preview-venue,.ta-preview-action,.tae-neighbour small,.tae-neighbour time,.tahl-product-action){color:var(--ta-link-support)}
body :is(.tahl-archive-copy h2 a,.tahl-feature h3 a){color:inherit;text-decoration:none}
body .tahl-next-mark{background:var(--ta-text-hover)}
.tahl-orb-study .tahl-archive:has(#ta-archive:not(.is-open,.is-morphing)) .tahl-archive-copy h2{cursor:pointer}
@media(hover:hover) and (pointer:fine){
 body :is(.tam-nav a,.tae-header nav a,.tae-footer a,.ta-footer a,.tahl-section-heading a,.tahl-details,.tahl-shop-link,.tae-all,.tae-open,.tae-row-title a,.tae-return,.tae-return-top a,.taa-back,.taa-booking,.taa-action,.ta-back a,a.ta-back,.ta-detail-info a:not(.ta-action):not(.button),.ta-store .woocommerce .product-name a,.ta-store .woocommerce .woocommerce-info a:not(.button),.tae-archive-open):hover{color:var(--ta-link-hover)!important;text-decoration-line:underline}
 body :is(.tahl-product:hover h3,.tahl-event:hover h3,.ta-card:has(a:hover) .ta-card-title a,a.tae-list-event:hover .tae-row-title h2,.ta-preview-link:hover .ta-preview-title,.tae-neighbour:hover span span,.tahl-archive-copy h2 a:hover,.tahl-feature h3 a:hover,.tahl-feature:has(.tahl-flyer:hover) h3 a){color:var(--ta-text-hover)!important}
 body :is(.tahl-product:hover .tahl-product-action,.tahl-event:hover .tahl-event-action,a.tae-list-event:hover .tae-open,.ta-preview-link:hover .ta-preview-action,.ta-sphere:hover .tahl-orb-action,.tahl-feature:has(h3 a:hover,.tahl-flyer:hover) .tahl-details){text-decoration-line:underline}
}
@media(prefers-reduced-motion:reduce){:root{--ta-link-duration:0ms}}

/* Archive component uses an ID; keep its supporting-line override explicit. */
body #ta-archive :is(.ta-preview-date,.ta-preview-venue,.ta-preview-action){color:var(--ta-link-support)}

/* Shop section follows the shared title/CTA feedback without colouring metadata. */

body .tahl-shop .tahl-shop-link{color:var(--ta-link-support)!important}

body .tahl-shop .tahl-section-heading:has(:focus-visible) .tahl-shop-link{text-decoration-line:underline}
@media(hover:hover) and (pointer:fine){
 
 body .tahl-shop .tahl-section-heading:hover .tahl-shop-link{text-decoration-line:underline}
}

/* Shared text-action arrows; component layouts keep ownership of spacing. */
body :is(.taa-action,.taa-back,.taa-booking,.taa-other,.ta-back,.tae-return-top a) svg{width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5}

/* Keep the underline on the archive action when hovering the heading row. */
@media (hover:hover) and (pointer:fine) {
    body .tahl-archive:has(#ta-archive:not(.is-open,.is-morphing)):has(.tahl-archive-copy h2:hover) .tahl-orb-action {
        text-decoration-line: underline;
    }
}